diff options
| author | 2021-04-20 12:06:22 +0100 | |
|---|---|---|
| committer | 2021-04-22 10:52:15 +0200 | |
| commit | 53f666869db5d8bfdcb85709808708596b26f02f (patch) | |
| tree | 6e2d1a392fb9e83096ea80c558b5399538858942 /drivers/usb/class/cdc-acm.c | |
| parent | usb: storage: datafab: remove redundant assignment of variable result (diff) | |
| download | linux-dev-53f666869db5d8bfdcb85709808708596b26f02f.tar.xz linux-dev-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 <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210420110622.377339-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
