diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-07 10:18:33 +0000 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2024-03-04 14:37:52 +0100 |
commit | 524e2ebd3b959e9ee069caf960ead0d519c8bf17 (patch) | |
tree | 7f43156f022fd0820f5ed069fbb784ba60782eec /drivers/dma-buf | |
parent | 46809c51565b83881aede6cdf3b0d25254966a41 (diff) |
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: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions