[VLAN] net/8021q/vlanproc.c: fix check-after-use
authorAdrian Bunk <bunk@kernel.org>
Wed, 15 Aug 2007 00:39:43 +0000 (17:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2007 00:39:43 +0000 (17:39 -0700)
commit16f3051b166bde3f1bd741783b64a8feebdb6f00
tree7f3ce2314cc2ccb2790b6c48cdd553a0aaea1bb8
parent6f93b9c28326df34b23a6c0dbe4c51d4654bdf0b
[VLAN] net/8021q/vlanproc.c: fix check-after-use

The Coverity checker spotted that we'd have already oops'ed if
"vlandev" was NULL.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlanproc.c