Re: [PATCH] IB/mlx5: Remove set-but-not-used variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 02, 2018 at 08:59:28AM -0700, Bart Van Assche wrote:
> Avoid that the compiler complains about set-but-not-used variables
> when building with W=1. This patch does not change any functionality.
>
> Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx>
> Cc: Matan Barak <matanb@xxxxxxxxxxxx>
> Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 3 ---
>  drivers/infiniband/hw/mlx5/main.c          | 2 --
>  2 files changed, 5 deletions(-)
>

Thanks, Bart.

It seems like mlx5_enable_eth() in mlx5_ib_stage_roce_init() doesn't
need port_num too. I'll send followup patch later on.

Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux