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]> --- 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) \ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html