Commit 524e2ebd authored by Colin Ian King's avatar Colin Ian King Committed by Johan Hovold
Browse files

USB: serial: oti6858: remove redundant assignment to variable divisor



The variable divisor is being assigned a value that is not being
read afterward, it is being re-assigned later in both paths of an if
statement.  The assignment is redundant and can be removed.

Cleans up clang scan warning:
drivers/usb/serial/oti6858.c:412:2: warning: Value stored to 'divisor'
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 46809c51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment