sfc: Do not attempt to flush queues if DMA is disabled
authorStuart Hodgson <smhodgson@solarflare.com>
Fri, 30 Mar 2012 12:04:51 +0000 (13:04 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 10 May 2012 01:22:08 +0000 (02:22 +0100)
commit3dca9d2dc285faf1910d405b65df845cab061356
tree2fbc8f7dbe766e99664db565617d73a8e6e0b4d5
parent2e7d21c54adbab6d10481eddc685328f89bb6389
sfc: Do not attempt to flush queues if DMA is disabled

efx_nic_fatal_interrupt() disables DMA before scheduling a reset.
After this, we need not and *cannot* flush queues.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c