Skip to content

Commit c40238e

Browse files
zhuyjjgunthorpe
authored andcommitted
RDMA/irdma: Remove the redundant return
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]>
1 parent 104f062 commit c40238e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/irdma/i40iw_if.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static void i40iw_remove(struct auxiliary_device *aux_dev)
198198
aux_dev);
199199
struct i40e_info *cdev_info = i40e_adev->ldev;
200200

201-
return i40e_client_device_unregister(cdev_info);
201+
i40e_client_device_unregister(cdev_info);
202202
}
203203

204204
static const struct auxiliary_device_id i40iw_auxiliary_id_table[] = {

0 commit comments

Comments
 (0)