diff options
| author | Colin Ian King <[email protected]> | 2017-11-07 19:07:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-27 09:20:40 +0100 |
| commit | bc4eec76e66ec5c53b93f9ee0b0a1689f7307ce5 (patch) | |
| tree | 340472fe017634a04aae604026ff805448356de8 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | d69b9c3884bf9dceab7d971eaab7a89887b60378 (diff) | |
staging: comedi: usbdux: remove redundant initialization of val
The early initialization of val is redundant as the value is never
read and is updated inside a for-loop. Remove the initialization
and move the declaration and initialization to the for-loop scope.
Cleans up clang warning:
drivers/staging/comedi/drivers/usbdux.c:812: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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions