diff options
author | 2017-02-18 12:27:12 +0100 | |
---|---|---|
committer | 2017-02-20 10:23:41 -0500 | |
commit | eb36bedf28be6d986bdbcfa375bab08ffa45efd8 (patch) | |
tree | 3c9a78e2246bea7e0e242e2d57bf9127c8b3d208 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: ena: remove superfluous check in ena_remove() (diff) | |
download | linux-dev-eb36bedf28be6d986bdbcfa375bab08ffa45efd8.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions