* [PATCH] remove third bogus argument from NLA_PUT_FLAG
@ 2006-08-25 10:55 Johannes Berg
2006-08-27 2:18 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2006-08-25 10:55 UTC (permalink / raw)
To: netdev; +Cc: David Miller, Thomas Graf
This patch removes the 'value' argument from NLA_PUT_FLAG which is
unused anyway. The documentation comment was already correct so it
doesn't need an update :)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
--- wireless-dev.orig/include/net/netlink.h 2006-08-25 12:46:30.000000000 +0200
+++ wireless-dev/include/net/netlink.h 2006-08-25 12:46:38.000000000 +0200
@@ -758,7 +758,7 @@ static inline int nla_put_msecs(struct s
#define NLA_PUT_STRING(skb, attrtype, value) \
NLA_PUT(skb, attrtype, strlen(value) + 1, value)
-#define NLA_PUT_FLAG(skb, attrtype, value) \
+#define NLA_PUT_FLAG(skb, attrtype) \
NLA_PUT(skb, attrtype, 0, NULL)
#define NLA_PUT_MSECS(skb, attrtype, jiffies) \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] remove third bogus argument from NLA_PUT_FLAG
2006-08-25 10:55 [PATCH] remove third bogus argument from NLA_PUT_FLAG Johannes Berg
@ 2006-08-27 2:18 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-08-27 2:18 UTC (permalink / raw)
To: johannes; +Cc: netdev, tgraf
From: Johannes Berg <johannes@sipsolutions.net>
Date: Fri, 25 Aug 2006 12:55:26 +0200
> This patch removes the 'value' argument from NLA_PUT_FLAG which is
> unused anyway. The documentation comment was already correct so it
> doesn't need an update :)
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Applied, thanks Johannes.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-27 2:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 10:55 [PATCH] remove third bogus argument from NLA_PUT_FLAG Johannes Berg
2006-08-27 2:18 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).