[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200508223202.09e7849d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 8 May 2020 22:32:02 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Samuel Zou <zou_wei@...wei.com>
Cc: <olteanv@...il.com>, <andrew@...n.ch>, <vivien.didelot@...il.com>,
<f.fainelli@...il.com>, <davem@...emloft.net>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH -next] net: dsa: sja1105: remove set but not used
variable 'prev_time'
On Fri, 8 May 2020 20:00:55 +0800 Samuel Zou wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/dsa/sja1105/sja1105_vl.c:468:6: warning: variable ‘prev_time’ set but not used [-Wunused-but-set-variable]
> u32 prev_time = 0;
> ^~~~~~~~~
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Samuel Zou <zou_wei@...wei.com>
Applied, thank you!
Powered by blists - more mailing lists