From: Lino Sanfilippo
Date: Sat, 18 Feb 2017 12:27:12 +0100
> 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
On 18.02.2017 14:27, Lino Sanfilippo wrote:
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
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