diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2022-03-07 18:31:00 +0000 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2022-03-08 18:51:02 +0100 |
| commit | 4ac56b1f1ef8139dbfc5dab918aa235e8344ec4e (patch) | |
| tree | 7ff1e38be7694a421d102c2e4e8b1c018055babf /lib/mpi/mpi-sub-ui.c | |
| parent | 5b6ab28d06780c87320ceade61698bb6719c85db (diff) | |
USB: serial: usb_wwan: remove redundant assignment to variable i
Variable i is being assigned a value that is never read, it is being
re-assigned two statements later in a for-loop. The assignment is
redundant and can be removed.
Cleans up clang scan build warning:
drivers/usb/serial/usb_wwan.c:151:2: warning: Value stored to 'i'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
