mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
ubik: remove useless signal call
The current version does not have a corresponding LWP_WaitProcess call for the beacon_globals.ubik_amSyncSite global. As a result, the LWP_NoYieldSignal(&beacon_globals.ubik_amSyncSite) signal call can be safely removed. Change-Id: I72c4ccfe8e68551673dc728dd699ba8c561d76d1 Reviewed-on: https://gerrit.openafs.org/12673 Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
b4c3baa2e2
commit
f7ccf0aa00
@ -630,11 +630,6 @@ ubeacon_Interact(void *dummy)
|
|||||||
* received a beacon packet informing we have a sync-site. */
|
* received a beacon packet informing we have a sync-site. */
|
||||||
beacon_globals.ubik_syncSiteAdvertised = 1;
|
beacon_globals.ubik_syncSiteAdvertised = 1;
|
||||||
}
|
}
|
||||||
#ifndef AFS_PTHREAD_ENV
|
|
||||||
/* I did not find a corresponding LWP_WaitProcess(&ubik_amSyncSite) --
|
|
||||||
this may be a spurious signal call -- sjenkins */
|
|
||||||
LWP_NoYieldSignal(&beacon_globals.ubik_amSyncSite);
|
|
||||||
#endif
|
|
||||||
UBIK_BEACON_UNLOCK;
|
UBIK_BEACON_UNLOCK;
|
||||||
} else {
|
} else {
|
||||||
UBIK_BEACON_LOCK;
|
UBIK_BEACON_LOCK;
|
||||||
|
Loading…
Reference in New Issue
Block a user