ubik: remove useless signal call 73/12673/3
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Mon, 31 Jul 2017 19:27:10 +0000 (15:27 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 4 Aug 2017 01:10:21 +0000 (21:10 -0400)
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>

src/ubik/beacon.c

index 1e37e63..01844ae 100644 (file)
@@ -630,11 +630,6 @@ ubeacon_Interact(void *dummy)
                 * received a beacon packet informing we have a sync-site. */
                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;
        } else {
            UBIK_BEACON_LOCK;