[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0912291929010.6325@localhost>
Date: Tue, 29 Dec 2009 19:32:15 -0500 (EST)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h>.
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@...shcourse.ca>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists