diff options
| author | Colin Ian King <[email protected]> | 2021-04-20 11:06:22 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-22 08:52:15 +0000 |
| commit | 53f666869db5d8bfdcb85709808708596b26f02f (patch) | |
| tree | 6e2d1a392fb9e83096ea80c558b5399538858942 /drivers/usb/class/cdc-acm.c | |
| parent | usb: storage: datafab: remove redundant assignment of variable result (diff) | |
| download | kernel-53f666869db5d8bfdcb85709808708596b26f02f.tar.gz kernel-53f666869db5d8bfdcb85709808708596b26f02f.zip | |
usb: gadget: net2272: remove redundant initialization of status
The variable status is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed and move the
declaration of status to the scope where it is used.
Signed-off-by: Colin Ian King <[email protected]>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
