diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-10-18 08:44:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 10:25:34 -0400 |
commit | 403f0727cb35d3ce82166340d792e20c7d5adb30 (patch) | |
tree | b1fa897c38544ec68fbdcb0efeb807a7929124c2 /drivers/net/wireless/mac80211_hwsim.h | |
parent | 3f3177bb680fc08300e6f2341f44755ff90a358a (diff) |
vlan: Remove unnecessary comparison of unsigned against 0
args.u.name_type is of type unsigned int and is always >= 0.
This fixes the following GCC warning:
net/8021q/vlan.c: In function ‘vlan_ioctl_handler’:
net/8021q/vlan.c:574:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.h')
0 files changed, 0 insertions, 0 deletions