Skip to contentSkip to conversation

remove third bogus argument from NLA_PUT_FLAG

PATCH Applied Johannes Berg 2 participants 2 messages Aug 25, 2006 – Aug 27, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 :)

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) \
maintainer Applied
#1 lore raw

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_FLAG which is unused anyway. The documentation comment was already correct so it doesn't need an update :)

Applied, thanks Johannes.