diff options
| author | Colin Ian King <[email protected]> | 2023-11-11 20:26:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-11-22 12:02:53 +0000 |
| commit | f9cdf40ed66b7abc4fc03c5b47725583e5dc1072 (patch) | |
| tree | 1328d635ce09de396b9d002e78f2cb9bfc94716a /tools/perf/scripts/python/flamegraph.py | |
| parent | 98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff) | |
USB: misc: iowarrior: remove redundant assignment to variable io_res
The variable io_res is being assigned a value that is never read, it is
either being re-assigned a new value that is read later or it's not used
depending on the cases in the following switch statement. The assignment
is redundant and can be removed. Cleans up clang scan build warning:
drivers/usb/misc/iowarrior.c:504:2: warning: Value stored to 'io_res'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions