]> git.baikalelectronics.ru Git - kernel.git/commit
netpoll: remove return value from netpoll_rx_disable()
authordingtianhong <dingtianhong@huawei.com>
Mon, 27 May 2013 19:53:31 +0000 (19:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 06:18:50 +0000 (23:18 -0700)
commit4e48c8d477b8d8b6e52de2e336e3355c233f1ac6
tree7ffc6e756d49f67205b5e05d3284d81cda06cc7a
parentee147c30a1fecc1a8b259da3c2c0a88fe15c8194
netpoll: remove return value from netpoll_rx_disable()

The netpoll_rx_disable() will always return 0, it is no use and looks wordy,
so remove the unnecessary code and get rid of it in _dev_open and _dev_close.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netpoll.h
net/core/dev.c
net/core/netpoll.c