remove third bogus argument from NLA_PUT_FLAG
Subsystems (2)
PATCH 1/1 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 <[email protected]>
include/net/netlink.h +1 -1
@@ -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) \
From: Johannes Berg <[email protected]>
Date: Fri, 25 Aug 2006 12:55:26 +0200
Quoted 5 lines
This patch removes the 'value' argument from
NLA_PUT_FLAGwhich is unused anyway. The documentation comment was already correct so it doesn't need an update :)Signed-off-by Johannes Berg <[email protected]>
Applied, thanks Johannes.