From: Mark Vitale Date: Thu, 12 Jun 2014 18:20:24 +0000 (-0400) Subject: viced: remove obsolete comment about alignment X-Git-Tag: upstream/1.8.0_pre1^2~524 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=235e88a36c1c26b5e5160510ce3b63e61d597e19;p=packages%2Fo%2Fopenafs.git viced: remove obsolete comment about alignment Alignment may have been historically relevant, but is no longer. Remove the comment. Also remove the unneeded 'dummy' field which does not provide padding for a useful alignment. Change-Id: I447fb73c379e6f86facd955a29ffd80e8929ceff Reviewed-on: http://gerrit.openafs.org/11289 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: D Brashear --- diff --git a/src/viced/host.h b/src/viced/host.h index d4a3a3e24..8c8ba3987 100644 --- a/src/viced/host.h +++ b/src/viced/host.h @@ -64,7 +64,6 @@ struct host { unsigned short hostFlags; /* bit map */ char InSameNetwork; /*Is host's addr in the same network as * the File Server's? */ - char dummy[3]; /* for padding */ char hcpsfailed; /* Retry the cps call next time */ prlist hcps; /* cps for hostip acls */ afs_uint32 LastCall; /* time of last call from host */ @@ -75,9 +74,7 @@ struct host { struct Interface *interface; /* all alternate addr for client */ afs_uint32 cblist; /* index of a cb in the per-host circular CB list */ /* - * These don't get zeroed, keep them at the end. If index doesn't - * follow an unsigned short then we need to pad to ensure that - * the index fields isn't zeroed. XXX + * These don't get zeroed, keep them at the end. */ afs_uint32 index; /* Host table index, for vicecb.c */ unsigned int n_tmays; /* how many successful TellMeAboutYourself calls