[VLAN]: Kill useless check
authorPatrick McHardy <kaber@trash.net>
Mon, 21 Jan 2008 08:22:30 +0000 (00:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:27 +0000 (15:08 -0800)
commit62f99efce61024f1c645c2c574882b510c77c579
tree00ea59ea721bce6446ab00c38e85a761858ecc72
parentef3eb3e59bd5723895b2349edec98998198ef5bb
[VLAN]: Kill useless check

vlan->real_dev is always equal to the device since thats what we used
for the lookup. It doesn't even seem worth a WARN_ON or BUG_ON.

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