From: Johannes Berg Date: Sun, 27 Aug 2006 02:17:53 +0000 (-0700) Subject: [NETLINK]: remove third bogus argument from NLA_PUT_FLAG X-Git-Tag: v3.12-rc1~34044^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9;p=kernel%2Fkernel-generic.git [NETLINK]: remove third bogus argument from NLA_PUT_FLAG 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 Signed-off-by: David S. Miller --- diff --git a/include/net/netlink.h b/include/net/netlink.h index 47044da..bcb27e3 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -828,7 +828,7 @@ static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, #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) \