1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Remove proc argument from LockCheckConflicts

This has been unused since commit 8563ccae2c.

Noted by Antonin Houska
This commit is contained in:
Alvaro Herrera
2013-09-16 22:14:14 -03:00
parent dd778e9d88
commit 1247ea28cb
3 changed files with 5 additions and 8 deletions

View File

@@ -906,7 +906,7 @@ LockAcquireExtended(const LOCKTAG *locktag,
status = STATUS_FOUND;
else
status = LockCheckConflicts(lockMethodTable, lockmode,
lock, proclock, MyProc);
lock, proclock);
if (status == STATUS_OK)
{
@@ -1256,8 +1256,7 @@ int
LockCheckConflicts(LockMethod lockMethodTable,
LOCKMODE lockmode,
LOCK *lock,
PROCLOCK *proclock,
PGPROC *proc)
PROCLOCK *proclock)
{
int numLockModes = lockMethodTable->numLockModes;
LOCKMASK myLocks;