diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-07 11:37:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-17 17:01:13 +0100 |
| commit | c89d32cabcd38d776331431066cf4da3fb120d54 (patch) | |
| tree | 91e971f3c26dbd8b3677785e32fd2c1e405f9866 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | usb: storage: freecom: Remove redundant assignment to variable offset (diff) | |
| download | linux-c89d32cabcd38d776331431066cf4da3fb120d54.tar.gz linux-c89d32cabcd38d776331431066cf4da3fb120d54.zip | |
usb: image: mdc800: Remove redundant assignment to variable retval
The variable retval is being assigned a value that is not being read
and is being re-assigned a new value a couple of statements later.
The assignment is redundant and can be removed.
Cleans up clang scan warning:
drivers/usb/image/mdc800.c:634:2: warning: Value stored to 'retval'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240207113730.2444296-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
