diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-10-31 21:04:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-03 03:03:12 +0300 |
commit | 8ed7ec1386b646130d80d017ecd4716f866ea570 (patch) | |
tree | cbabacb1c6991953ef82dbfeb192fbb1e33d017b /drivers/net/hamradio | |
parent | ce3f952104e0266986d8a4e6b11d8f979e18fb3e (diff) | |
download | linux-8ed7ec1386b646130d80d017ecd4716f866ea570.tar.xz |
drivers: net: xen-netfront: Fixed W=1 set but unused warnings
drivers/net/xen-netfront.c:2416:16: warning: variable ‘target’ set but not used [-Wunused-but-set-variable]
2416 | unsigned long target;
Remove target and just discard the return value from simple_strtoul().
This patch does give a checkpatch warning, but the warning was there
before anyway, as this file has lots of checkpatch warnings.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201031180435.1081127-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions