瀏覽代碼

sfc: Remove incorrect assertion from efx_pci_remove_main()

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ben Hutchings 16 年之前
父節點
當前提交
be4b163b28
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/net/sfc/efx.c

+ 0 - 2
drivers/net/sfc/efx.c

@@ -2022,8 +2022,6 @@ static void efx_fini_struct(struct efx_nic *efx)
  */
  */
 static void efx_pci_remove_main(struct efx_nic *efx)
 static void efx_pci_remove_main(struct efx_nic *efx)
 {
 {
-	EFX_ASSERT_RESET_SERIALISED(efx);
-
 	/* Skip everything if we never obtained a valid membase */
 	/* Skip everything if we never obtained a valid membase */
 	if (!efx->membase)
 	if (!efx->membase)
 		return;
 		return;