diff options
| author | 2017-11-07 19:07:24 +0000 | |
|---|---|---|
| committer | 2017-11-27 09:20:40 +0100 | |
| commit | bc4eec76e66ec5c53b93f9ee0b0a1689f7307ce5 (patch) | |
| tree | 340472fe017634a04aae604026ff805448356de8 /tools/perf/scripts/python | |
| parent | staging: speakup: selection: replace _manual_ swap with swap macro (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 <colin.king@canonical.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
