From 2cf573da487b43e50cfc283fdd03374279d153c3 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Sun, 21 Nov 2010 21:40:28 -0500 Subject: [PATCH] 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 --- src/afsd/afsd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 603551fc18..925cace01e 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] ", \