[PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h>.
From: Robert P. J. Day
Date: Tue Dec 29 2009 - 19:33:01 EST
Since nothing in the entire tree makes use of this macro, remove it.
This removal should eventually propagate to all of the arch-specific
param.h files.
Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
---
from the earlier discussion, no one provided any compelling reason
to retain this macro. i'll eventually simplify the rest of the
param.h files similarly. the fact that this macro is currently
exported to user space doesn't seem like any argument to keep it.
diff --git a/include/asm-generic/param.h b/include/asm-generic/param.h
index cdf8251..47939d8 100644
--- a/include/asm-generic/param.h
+++ b/include/asm-generic/param.h
@@ -19,6 +19,4 @@
#define NOGROUP (-1)
#endif
-#define MAXHOSTNAMELEN 64 /* max length of hostname */
-
#endif /* __ASM_GENERIC_PARAM_H */
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/