diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-08-26 22:17:53 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:18 -0400 |
commit | ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9 (patch) | |
tree | 32366a88470dc809f9aa4dd5dbcabd1c8d30b6e5 | |
parent | 97e5848dd39e7e76bd6077735ebb5473763ab9c5 (diff) |
[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 <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index 47044da167c5..bcb27e3a312e 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, | |||
828 | #define NLA_PUT_STRING(skb, attrtype, value) \ | 828 | #define NLA_PUT_STRING(skb, attrtype, value) \ |
829 | NLA_PUT(skb, attrtype, strlen(value) + 1, value) | 829 | NLA_PUT(skb, attrtype, strlen(value) + 1, value) |
830 | 830 | ||
831 | #define NLA_PUT_FLAG(skb, attrtype, value) \ | 831 | #define NLA_PUT_FLAG(skb, attrtype) \ |
832 | NLA_PUT(skb, attrtype, 0, NULL) | 832 | NLA_PUT(skb, attrtype, 0, NULL) |
833 | 833 | ||
834 | #define NLA_PUT_MSECS(skb, attrtype, jiffies) \ | 834 | #define NLA_PUT_MSECS(skb, attrtype, jiffies) \ |