summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2017-01-19 02:02:49 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-20 20:22:25 +0300
commit1b7cd0044e4a9f69aaf00511870b07fcdeda591d (patch)
treefce5cccf4992d44ea8c74986c8c21123e5d6f687 /drivers/net
parent264b87fa617e758966108db48db220571ff3d60e (diff)
downloadlinux-1b7cd0044e4a9f69aaf00511870b07fcdeda591d.tar.xz
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 <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions