diff options
| author | Colin Ian King <[email protected]> | 2024-02-07 10:18:33 +0000 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2024-03-04 13:37:52 +0000 |
| commit | 524e2ebd3b959e9ee069caf960ead0d519c8bf17 (patch) | |
| tree | 7f43156f022fd0820f5ed069fbb784ba60782eec /drivers/fpga/versal-fpga.c | |
| parent | USB: serial: option: add MeiG Smart SLM320 product (diff) | |
| download | kernel-524e2ebd3b959e9ee069caf960ead0d519c8bf17.tar.gz kernel-524e2ebd3b959e9ee069caf960ead0d519c8bf17.zip | |
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 <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
