From: Leon Romanovsky <leon@kernel.org> Date: 2021-07-21 10:10:38
From: Leon Romanovsky <leonro@nvidia.com>
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: fbfb8031533c ("ionic: Add hardware init and device commands")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c | 3 ---
1 file changed, 3 deletions(-)
From: Shannon Nelson <hidden> Date: 2021-07-21 15:55:19
On 7/21/21 2:54 AM, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@nvidia.com>
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: fbfb8031533c ("ionic: Add hardware init and device commands")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 21 Jul 2021 12:54:13 +0300 you wrote:
From: Leon Romanovsky <leonro@nvidia.com>
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.
[...]