[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200204.093354.137606525383512342.davem@davemloft.net>
Date: Tue, 04 Feb 2020 09:33:54 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: aelior@...vell.com, michal.kalderon@...vell.com,
GR-everest-linux-l2@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
hulkci@...wei.com
Subject: Re: [PATCH net-next] qed: Remove set but not used variable 'p_link'
From: YueHaibing <yuehaibing@...wei.com>
Date: Tue, 4 Feb 2020 02:24:41 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/qlogic/qed/qed_cxt.c: In function 'qed_qm_init_pf':
> drivers/net/ethernet/qlogic/qed/qed_cxt.c:1401:29: warning:
> variable 'p_link' set but not used [-Wunused-but-set-variable]
>
> commit 92fae6fb231f ("qed: FW 8.42.2.0 Queue Manager changes")
> leave behind this unused variable.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists