]> git.baikalelectronics.ru Git - kernel.git/commit
net: vlan: remove reduntant check in ndo_fix_features callback
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 14 Jul 2011 21:39:29 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 21:39:29 +0000 (14:39 -0700)
commit32678d14e884ee576de31ababdb278b7da7319de
tree3f8e183f36b9ba7c191a12a89cfe156d9230d676
parent484051ee673200d36636b0990d019771950b6235
net: vlan: remove reduntant check in ndo_fix_features callback

Use the fact that ORing with zero is a no-op.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c