[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200717.184315.165673962018031073.davem@davemloft.net>
Date: Fri, 17 Jul 2020 18:43:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhangchangzhong@...wei.com
Cc: rmody@...vell.com, skalluru@...vell.com,
GR-Linux-NIC-Dev@...vell.com, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: bna: Remove unused variable 't'
From: Zhang Changzhong <zhangchangzhong@...wei.com>
Date: Fri, 17 Jul 2020 18:23:04 +0800
> Gcc report warning as follows:
>
> drivers/net/ethernet/brocade/bna/bfa_ioc.c:1538:6: warning:
> variable 't' set but not used [-Wunused-but-set-variable]
> 1538 | u32 t;
> | ^
>
> After commit c107ba171f3d ("bna: Firmware Patch Simplification"),
> 't' is never used, so removing it to avoid build warning.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists