Re: [PATCH net-next] net/smc: remove set but not used variables 'del_llc, del_llc_resp'

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

 



From: Karsten Graul <kgraul@xxxxxxxxxxxxx>
Date: Thu,  7 May 2020 16:24:06 +0200

> From: YueHaibing <yuehaibing@xxxxxxxxxx>
> 
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> net/smc/smc_llc.c: In function 'smc_llc_cli_conf_link':
> net/smc/smc_llc.c:753:31: warning:
>  variable 'del_llc' set but not used [-Wunused-but-set-variable]
>   struct smc_llc_msg_del_link *del_llc;
>                                ^
> net/smc/smc_llc.c: In function 'smc_llc_process_srv_delete_link':
> net/smc/smc_llc.c:1311:33: warning:
>  variable 'del_llc_resp' set but not used [-Wunused-but-set-variable]
>     struct smc_llc_msg_del_link *del_llc_resp;
>                                  ^
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> Signed-off-by: Karsten Graul <kgraul@xxxxxxxxxxxxx>

Applied, thanks.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux