From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h>.
Date: Tue, 29 Dec 2009 19:32:15 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0912291929010.6325@localhost> (raw)
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
========================================================================
next reply other threads:[~2009-12-30 0:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 0:32 Robert P. J. Day [this message]
2009-12-30 0:56 ` [PATCH] Remove macro MAXHOSTNAMELEN from <asm-generic/param.h> Stephen Rothwell
2009-12-30 1:03 ` Robert P. J. Day
2009-12-30 2:05 ` Vikram Dhillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.0912291929010.6325@localhost \
--to=rpjday@crashcourse.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.