From: Andrew Deason Date: Mon, 22 Nov 2010 02:40:28 +0000 (-0500) Subject: afsd: Remove unused definitions X-Git-Tag: upstream/1.6.3^2~133 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2cf573da487b43e50cfc283fdd03374279d153c3;p=packages%2Fo%2Fopenafs.git afsd: Remove unused definitions Remove some #defines for s_host and similar things. They are not used anywhere, and they can cause warnings for e.g. s_host being redefined. Reviewed-on: http://gerrit.openafs.org/3364 Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit be6fb658fe717469470bcd28c46bee1901c4d96c) Change-Id: I9ca3c81dde7321928c96a80ae46ff9b736c1040e Reviewed-on: http://gerrit.openafs.org/9413 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand --- diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 603551fc1..925cace01 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -228,11 +228,6 @@ struct in_addr_42 { } S_un_w; afs_uint32 S_addr; } S_un; -#define s_host S_un.S_un_b.s_b2 /* host on imp */ -#define s_net S_un.S_un_b.s_b1 /* network */ -#define s_imp S_un.S_un_w.s_w2 /* imp */ -#define s_impno S_un.S_un_b.s_b4 /* imp # */ -#define s_lh S_un.S_un_b.s_b3 /* logical host */ }; #define mPrintIPAddr(ipaddr) printf("[%d.%d.%d.%d] ", \