From 2216b5f8efdee3328286cbfb6fa2a74e90964616 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Tue, 2 Aug 2022 19:54:15 -0400 Subject: [PATCH] viced: Remove dead code 'zerofid' Since the original IBM code import, h_CheckHosts has zeroed 'zerofid' but it is not referenced by any other code. Remove the vestigial code. No functional change is incurred by this commit. Change-Id: I56ff2977bd210f2a37abf0b25f5e3aba2da19d85 Reviewed-on: https://gerrit.openafs.org/15101 Reviewed-by: Cheyenne Wills Tested-by: BuildBot Reviewed-by: Michael Meffie --- src/viced/host.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/viced/host.c b/src/viced/host.c index 5cdcc9a64e..b72473a6d3 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -3988,7 +3988,6 @@ h_GetHostNetStats(afs_int32 * a_numHostsP, afs_int32 * a_sameNetOrSubnetP, static afs_uint32 checktime; static afs_uint32 clientdeletetime; -static struct AFSFid zerofid; /* @@ -4115,7 +4114,6 @@ h_CheckHosts(void) { afs_uint32 now = time(NULL); - memset(&zerofid, 0, sizeof(zerofid)); /* * Send a probe to the workstation if it hasn't been heard from in * 15 minutes