All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h>.
@ 2009-12-30  0:32 Robert P. J. Day
  2009-12-30  0:56 ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2009-12-30  0:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List


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@crashcourse.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
========================================================================

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-30  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30  0:32 [PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h> Robert P. J. Day
2009-12-30  0:56 ` Stephen Rothwell
2009-12-30  1:03   ` Robert P. J. Day
2009-12-30  2:05     ` Vikram Dhillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.