mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 02:52:56 +00:00
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>
This commit is contained in:
parent
96c45726c7
commit
be4b163b28
@ -2022,8 +2022,6 @@ static void efx_fini_struct(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 */
|
||||
if (!efx->membase)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user