summaryrefslogtreecommitdiffstats
path: root/sound/pci/mixart
diff options
context:
space:
mode:
authorLino Sanfilippo <LinoSanfilippo@gmx.de>2017-02-18 12:27:12 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-20 10:23:41 -0500
commiteb36bedf28be6d986bdbcfa375bab08ffa45efd8 (patch)
tree3c9a78e2246bea7e0e242e2d57bf9127c8b3d208 /sound/pci/mixart
parent90a6c997bd8bb836809eda5efb6406d8c58c0924 (diff)
downloadlinux-eb36bedf28be6d986bdbcfa375bab08ffa45efd8.tar.gz
linux-eb36bedf28be6d986bdbcfa375bab08ffa45efd8.tar.bz2
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 'sound/pci/mixart')
0 files changed, 0 insertions, 0 deletions