usb: gadget: remove redundant assignment to variable status
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 16:31:32 +0000 (16:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 19:15:27 +0000 (11:15 -0800)
commit334fb94c39e0ab5bb8fa61ff6e82fe6545b45ed7
tree423ad11ffff0fda09d1f8e293b3f43c051369771
parent85798543f55cd51cb57de4b6aa4ab6c05206d26f
usb: gadget: remove redundant assignment to variable status

Variable status is being assigned with a value that is never read, it is
assigned a new value immediately afterwards. The assignment is redundant
and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200208163132.29592-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uac1_legacy.c