diff options
author | Samuel Zou <zou_wei@huawei.com> | 2020-05-08 20:00:55 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-08 22:30:50 -0700 |
commit | b41d272eda6da5a0d6cad76c3ba18952b32f5ce9 (patch) | |
tree | 720b68bd779db6b09019370c7de4e33a32a5b34b /net/ipv6/route.c | |
parent | da384effb1609b1333d475e9d4b318913b3d194b (diff) | |
download | linux-stable-b41d272eda6da5a0d6cad76c3ba18952b32f5ce9.tar.gz linux-stable-b41d272eda6da5a0d6cad76c3ba18952b32f5ce9.tar.bz2 linux-stable-b41d272eda6da5a0d6cad76c3ba18952b32f5ce9.zip |
net: dsa: sja1105: remove set but not used variable 'prev_time'
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>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions