diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-10-31 19:04:35 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-02 16:03:12 -0800 |
commit | 8ed7ec1386b646130d80d017ecd4716f866ea570 (patch) | |
tree | cbabacb1c6991953ef82dbfeb192fbb1e33d017b /drivers/net/wan | |
parent | ce3f952104e0266986d8a4e6b11d8f979e18fb3e (diff) |
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/wan')
0 files changed, 0 insertions, 0 deletions