[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180928.101522.2217227971770821719.davem@davemloft.net>
Date: Fri, 28 Sep 2018 10:15:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: Ariel.Elior@...ium.com, everest-linux-l2@...ium.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] qed: Remove set but not used variable
'p_archipelago'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 27 Sep 2018 06:45:06 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/qlogic/qed/qed_ooo.c: In function 'qed_ooo_delete_isles':
> drivers/net/ethernet/qlogic/qed/qed_ooo.c:354:30: warning:
> variable 'p_archipelago' set but not used [-Wunused-but-set-variable]
>
> drivers/net/ethernet/qlogic/qed/qed_ooo.c: In function 'qed_ooo_join_isles':
> drivers/net/ethernet/qlogic/qed/qed_ooo.c:463:30: warning:
> variable 'p_archipelago' set but not used [-Wunused-but-set-variable]
>
> Since commit 1eec2437d14c ("qed: Make OOO archipelagos into an array"),
> 'p_archipelago' is no longer in use.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists