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)
committerFelipe Balbi <balbi@kernel.org>
Sun, 15 Mar 2020 09:06:39 +0000 (11:06 +0200)
commit09890fb1073bb503dc9995cec319bfde63b15a27
treee6bd1241ae309b00f175db7be8497c4f1154e8aa
parent49f1997ad2e2e2d05917146e94dcb0ad600b866a
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>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/function/f_uac1_legacy.c