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 :)
Unified · Split
| @@ -828,7 +828,7 @@ static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, · 827 unmodified lines | |||
| 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) \ |