ice: Delete always true check of PF pointer
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 23 Sep 2021 18:12:52 +0000 (21:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Sep 2021 13:12:57 +0000 (14:12 +0100)
commit2ff04286a9569675948f39cec2c6ad47c3584633
treebe044f5c29f647aeaa7280e8802d70aee4a85c53
parent8ba024dfaf6146386d491b4679ba2c54007a7f4f
ice: Delete always true check of PF pointer

PF pointer is always valid when PCI core calls its .shutdown() and
.remove() callbacks. There is no need to check it again.

Fixes: 837f08fdecbe ("ice: Add basic driver framework for Intel(R) E800 Series")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_main.c