diff options
| author | 2008-11-20 04:08:29 -0800 | |
|---|---|---|
| committer | 2008-11-20 04:08:29 -0800 | |
| commit | 0c19b0adb8dd33dbd10ff48e41971231c486855c (patch) | |
| tree | 8cbc7b353824647f3662aeb23c3849324bffac28 /include/linux/pkt_sched.h | |
| parent | netdevice lance: Convert directly reference of netdev->priv (diff) | |
| download | wireguard-linux-0c19b0adb8dd33dbd10ff48e41971231c486855c.tar.xz wireguard-linux-0c19b0adb8dd33dbd10ff48e41971231c486855c.zip | |
netlink: avoid memset of 0 bytes sparse warning
A netlink attribute padding of zero triggers this sparse warning:
include/linux/netlink.h:245:8: warning: memset with byte count of 0
Avoid the memset when the size parameter is constant and requires no padding.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_sched.h')
0 files changed, 0 insertions, 0 deletions
