diff options
author | Saurav Girepunje <saurav.girepunje@gmail.com> | 2019-10-02 20:02:45 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 14:15:13 +0200 |
commit | 29e56c0cf5d910a07b9932cf5924ade9d98a8143 (patch) | |
tree | 5116979df4ee4bae64aba759453934d242271784 | |
parent | c0ee57ce66fafbe866bf00e097b969d0f4524bb8 (diff) | |
download | linux-29e56c0cf5d910a07b9932cf5924ade9d98a8143.tar.gz linux-29e56c0cf5d910a07b9932cf5924ade9d98a8143.tar.bz2 linux-29e56c0cf5d910a07b9932cf5924ade9d98a8143.zip |
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>
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index ffe462a657b1..2cb31fc0cd60 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -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; } /* |