aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ipvlan/ipvlan_main.c
diff options
context:
space:
mode:
authorMahesh Bandewar <[email protected]>2017-01-18 23:02:49 +0000
committerDavid S. Miller <[email protected]>2017-01-20 17:22:25 +0000
commit1b7cd0044e4a9f69aaf00511870b07fcdeda591d (patch)
treefce5cccf4992d44ea8c74986c8c21123e5d6f687 /drivers/net/ipvlan/ipvlan_main.c
parentfq_codel: Avoid regenerating skb flow hash unless necessary (diff)
downloadkernel-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