[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180813.094841.641175263393153547.davem@davemloft.net>
Date: Mon, 13 Aug 2018 09:48:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: derek.chickles@...iumnetworks.com,
satananda.burla@...iumnetworks.com,
felix.manlunas@...iumnetworks.com,
raghu.vatsavayi@...iumnetworks.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] liquidio: remove set but not used variable
'is25G'
From: YueHaibing <yuehaibing@...wei.com>
Date: Mon, 13 Aug 2018 17:29:36 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/cavium/liquidio/lio_ethtool.c: In function 'lio_set_link_ksettings':
> drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:392:6: warning:
> variable 'is25G' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> v2: remove unnecessary braces as Shahed suggested
Applied, thank you.
Powered by blists - more mailing lists