Skip to content
Snippets Groups Projects
Commit 524df92c authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller
Browse files

ionic: drop useless check of PCI driver data validity


The driver core will call to .remove callback only if .probe succeeded
and it will ensure that driver data has pointer to struct ionic.

There is no need to check it again.

Fixes: fbfb8031 ("ionic: Add hardware init and device commands")
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Acked-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 739b2adf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment