vlan: Remove unnecessary comparison of unsigned against 0
authorTobias Klauser <tklauser@distanz.ch>
Tue, 18 Oct 2016 06:44:17 +0000 (08:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:25:34 +0000 (10:25 -0400)
commit403f0727cb35d3ce82166340d792e20c7d5adb30
treeb1fa897c38544ec68fbdcb0efeb807a7929124c2
parent3f3177bb680fc08300e6f2341f44755ff90a358a
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>
net/8021q/vlan.c