From f7ccf0aa00459cda4579a3838b5bd59ba69c03ea Mon Sep 17 00:00:00 2001 From: Marcio Barbosa Date: Mon, 31 Jul 2017 15:27:10 -0400 Subject: [PATCH] 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 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- src/ubik/beacon.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 1e37e63101..01844ae7de 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -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;