[VLAN]: Clean up unregister_vlan_dev
authorPatrick McHardy <kaber@trash.net>
Mon, 21 Jan 2008 08:25:31 +0000 (00:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:30 +0000 (15:08 -0800)
commitacc5efbcd2a023c8801f2bba39971cf93812ce7c
tree2e0d4883c5d6d1aaf8a004c39be24dfd7a205cf3
parent69ab4b7d6db68396dbfa827daa8d6f30f9b546a8
[VLAN]: Clean up unregister_vlan_dev

Save two levels of indentation by aborting on error conditions,
remove unnecessary initialization to NULL and remove two obvious
comments.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c