]> Git Repo - linux.git/commitdiff
RDMA/irdma: Remove the redundant return
authorZhu Yanjun <[email protected]>
Mon, 10 Jan 2022 07:37:33 +0000 (02:37 -0500)
committerJason Gunthorpe <[email protected]>
Mon, 10 Jan 2022 16:47:37 +0000 (12:47 -0400)
The type of the function i40iw_remove is void. So remove
the unnecessary return.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Zhu Yanjun <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Acked-by: Shiraz Saleem <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
drivers/infiniband/hw/irdma/i40iw_if.c

index d219f64b2c3d5fbd8b98f8c40ce267d773ef6a9e..43e962b97d6a3d11f2fff6426b01d5a17ebd7a9a 100644 (file)
@@ -198,7 +198,7 @@ static void i40iw_remove(struct auxiliary_device *aux_dev)
                                                               aux_dev);
        struct i40e_info *cdev_info = i40e_adev->ldev;
 
-       return i40e_client_device_unregister(cdev_info);
+       i40e_client_device_unregister(cdev_info);
 }
 
 static const struct auxiliary_device_id i40iw_auxiliary_id_table[] = {
This page took 0.056461 seconds and 4 git commands to generate.