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

USB: serial: iuu_phoenix: remove redundant variable 'error'



The variable error is initialized to 0 and is set to 1 this
value is never read as it is on an immediate return path. The
only read of error is to check it is 0 and this check is always
true at that point of the code. The variable is redundant and
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 764de105
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment