]> Pileus Git - ~andy/linux/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)
commitda6e378ba918cd0feeb90eeb84d8b42148bb0c82
tree7ffc6e756d49f67205b5e05d3284d81cda06cc7a
parent87227b8b2d4d556a6924ad9af87450fdc3fcd7e3
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