diff options
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | 2017-02-18 12:27:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 10:23:41 -0500 |
commit | eb36bedf28be6d986bdbcfa375bab08ffa45efd8 (patch) | |
tree | 3c9a78e2246bea7e0e242e2d57bf9127c8b3d208 /Documentation/ntb.txt | |
parent | 90a6c997bd8bb836809eda5efb6406d8c58c0924 (diff) | |
download | blackbird-op-linux-eb36bedf28be6d986bdbcfa375bab08ffa45efd8.tar.gz blackbird-op-linux-eb36bedf28be6d986bdbcfa375bab08ffa45efd8.zip |
net: aquantia: remove function aq_ring_tx_deinit
Both functions aq_ring_rx_deinit() and aq_ring_tx_clean() are almost
identical aside from an additional check in the latter.
Move that check from the function into its caller and replace
aq_ring_rx_deinit() with aq_ring_rx_deinit().
By doing this also adjust the functions return value from int to void
since it can never fail.
Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Tested-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ntb.txt')
0 files changed, 0 insertions, 0 deletions