Skip to content
Commit 4ac56b1f authored by Colin Ian King's avatar Colin Ian King Committed by Johan Hovold
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 5b6ab28d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment