remove unnecessary dbScanLock/Unlock

This commit is contained in:
Marty Kraimer
2004-09-15 17:55:27 +00:00
parent ab176a13cd
commit 15c156d41f
+1 -2
View File
@@ -271,12 +271,11 @@ void epicsShareAPI dbNotifyCancel(putNotify *ppn)
epicsMutexUnlock(notifyLock);
dbScanUnlock(precord);
epicsEventWait(eventId);
dbScanLock(precord);
epicsMutexMustLock(notifyLock);
ppn->pcancelEvent = 0;
ppn->requestCancel = 0;
epicsEventDestroy(eventId);
epicsMutexUnlock(notifyLock);
dbScanUnlock(precord);
return;
}
switch(state) {