[8021Q]: vlan_ioctl_handler: fix return value
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 24 Jul 2007 22:37:11 +0000 (15:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2007 22:37:11 +0000 (15:37 -0700)
commit3f5f4346b6d3c8bc33780a941da2473c4be2c989
treeaddc6e4344ba3e54b31fd0a6fc867b938ba3c6f0
parent79d310d01ec2a55e0ac1810aee56886ebee58c53
[8021Q]: vlan_ioctl_handler: fix return value

net/8021q/vlan.c: In function 'vlan_ioctl_handler':
net/8021q/vlan.c:700: warning: 'err' may be used uninitialized in this function

The warning is incorrect, but from my reading this ioctl will return -EINVAL
on success.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c