diff options
| author | Colin Ian King <[email protected]> | 2018-03-12 23:36:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-14 12:57:06 +0100 |
| commit | b8461ff7747416dca950aad43415f214cfcdbfa3 (patch) | |
| tree | 6cdc067b086c41b74fcfde1ecd2dae85bfc68814 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 8b6f053790d94cceb323c2754fcd69c1286778b8 (diff) | |
staging: comedi: adl_pci6208: remove redundant initialization of 'val'
Variable 'val' is initialized with a value that is never read, it is
updated with a new value again after intitialization. Remove the
redundant initialization and move the declaration and assignment into
the scope of the for-loop.
Cleans up clang warning:
drivers/staging/comedi/drivers/adl_pci6208.c:61:15: warning: Value
stored to 'val' during its initialization is never read
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Ian Abbott <[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