diff options
author | Andrew Lunn <[email protected]> | 2020-10-31 19:04:35 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-02 16:03:12 -0800 |
commit | 8ed7ec1386b646130d80d017ecd4716f866ea570 (patch) | |
tree | cbabacb1c6991953ef82dbfeb192fbb1e33d017b /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions