mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 08:46:49 +07:00
usb: musb: musb_gadget.c: Remove unused variable
Remove unused variable status from musb_gadget_disable(). Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/20191002143241.GA11615@saurav Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c0ee57ce66
commit
29e56c0cf5
@ -1085,7 +1085,6 @@ static int musb_gadget_disable(struct usb_ep *ep)
|
||||
u8 epnum;
|
||||
struct musb_ep *musb_ep;
|
||||
void __iomem *epio;
|
||||
int status = 0;
|
||||
|
||||
musb_ep = to_musb_ep(ep);
|
||||
musb = musb_ep->musb;
|
||||
@ -1118,7 +1117,7 @@ static int musb_gadget_disable(struct usb_ep *ep)
|
||||
|
||||
musb_dbg(musb, "%s", musb_ep->end_point.name);
|
||||
|
||||
return status;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user