diff options
| author | Qiheng Lin <[email protected]> | 2021-04-10 14:49:32 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-10 10:29:28 +0200 |
| commit | 32abcac8037da5dc570c22abf266cbb92eee9fc9 (patch) | |
| tree | b6f889719654f3bb67b82e1bb96141f86e489d76 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3eea531bcc24aee8f93b206adfde605fdd6f3d44 (diff) | |
staging: comedi: tests: ni_routes_test: Remove unused variable 'olddevroutes'
GCC reports the following warning with W=1:
drivers/staging/comedi/drivers/tests/ni_routes_test.c:215:45: warning:
variable 'olddevroutes' set but not used [-Wunused-but-set-variable]
215 | const struct ni_device_routes *devroutes, *olddevroutes;
| ^~~~~~~~~~~~
This variable is not used in function , this commit
remove it to fix the warning.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Qiheng Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions