]> git.openfabrics.org - ~emulex/infiniband.git/commit
sfc: Remove bogus call to efx_release_tx_buffers()
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 27 May 2013 15:52:54 +0000 (16:52 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 18:49:10 +0000 (19:49 +0100)
commit501a248cf6995286a4da0c2aa93c0fa9c5941453
treeab0019f973f0d36b95e09a8419701bf1e263bdf6
parentd8aec745ddaf278ba187d7712c1becc5ffd0f7da
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: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c