Messages in this thread | | | Date | Fri, 8 May 2020 22:32:02 -0700 | From | Jakub Kicinski <> | 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@huawei.com> > Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Applied, thank you!
| |