viced: remove obsolete comment about alignment
authorMark Vitale <mvitale@sinenomine.net>
Thu, 12 Jun 2014 18:20:24 +0000 (14:20 -0400)
committerD Brashear <shadow@your-file-system.com>
Wed, 29 Oct 2014 21:30:27 +0000 (17:30 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: D Brashear <shadow@your-file-system.com>

src/viced/host.h

index d4a3a3e..8c8ba39 100644 (file)
@@ -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