Skip to content
Commit 501a248c authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Remove bogus call to efx_release_tx_buffers()



efx_unregister_netdev() should not call efx_release_tx_buffers()
directly, as it is already done when closing the device:
efx_net_stop() -> efx_stop_all() -> efx_stop_datapath() ->
efx_fini_tx_queue() -> efx_release_tx_buffers().

(This was presumably a workaround for a race between efx_stop_all()
and the data path that has since been properly fixed.)

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent d8aec745
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment