summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-q.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-04-20 12:06:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-22 10:52:15 +0200
commit53f666869db5d8bfdcb85709808708596b26f02f (patch)
tree6e2d1a392fb9e83096ea80c558b5399538858942 /drivers/usb/host/ohci-q.c
parent95dbac94da7f9cff9a056fcf9c3a1679aa5ac337 (diff)
downloadlinux-53f666869db5d8bfdcb85709808708596b26f02f.tar.bz2
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/host/ohci-q.c')
0 files changed, 0 insertions, 0 deletions