Re: [PATCH -next] RDMA/iwpm: Remove set but not used variable 'msg_seq'

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

 



On Thu, Feb 14, 2019 at 01:57:10AM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/infiniband/core/iwpm_util.c: In function 'iwpm_send_hello':
> drivers/infiniband/core/iwpm_util.c:811:6: warning:
>  variable 'msg_seq' set but not used [-Wunused-but-set-variable]
> 
> It never used since introduction in commit b0bad9ad514f ("RDMA/IWPM: Support
> no port mapping requirements")
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
>  drivers/infiniband/core/iwpm_util.c | 2 --
>  1 file changed, 2 deletions(-)

applied to for-next, thanks

Jason



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux