diff options
| author | Mahesh Bandewar <[email protected]> | 2017-01-18 23:02:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-20 17:22:25 +0000 |
| commit | 1b7cd0044e4a9f69aaf00511870b07fcdeda591d (patch) | |
| tree | fce5cccf4992d44ea8c74986c8c21123e5d6f687 /drivers/net/ipvlan/ipvlan_main.c | |
| parent | fq_codel: Avoid regenerating skb flow hash unless necessary (diff) | |
| download | kernel-1b7cd0044e4a9f69aaf00511870b07fcdeda591d.tar.gz kernel-1b7cd0044e4a9f69aaf00511870b07fcdeda591d.zip | |
net: remove duplicate code.
netdev_rx_handler_register() checks to see if the handler is already
busy which was recently separated into netdev_is_rx_handler_busy(). So
use the same function inside register() to avoid code duplication.
Essentially this change should be a no-op
Signed-off-by: Mahesh Bandewar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions
