[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190404.173700.1333439177305813741.davem@davemloft.net>
Date: Thu, 04 Apr 2019 17:37:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: mpe@...erman.id.au, mcgrof@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH -next] net: pasemi: remove set but not used variable
'cpyhdr'
From: Yue Haibing <yuehaibing@...wei.com>
Date: Wed, 3 Apr 2019 15:50:27 +0800
> From: YueHaibing <yuehaibing@...wei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/pasemi/pasemi_mac.c: In function 'pasemi_mac_queue_csdesc':
> drivers/net/ethernet/pasemi/pasemi_mac.c:1358:29: warning: variable 'cpyhdr' set but not used [-Wunused-but-set-variable]
>
> It's never used since commit 8d636d8bc5ff ("pasemi_mac: jumbo
> frame support") and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists