summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-05-28 17:34:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:44:39 +0200
commitedf380046b0a726de26fc29015556a11288940ac (patch)
tree1cf98d0494ee53a3a5f5a9ea74f82cfc332e825b /drivers/usb/musb
parent3bea1cfcff113070655c379cec6d1dde0529bd31 (diff)
downloadblackbird-obmc-linux-edf380046b0a726de26fc29015556a11288940ac.tar.gz
blackbird-obmc-linux-edf380046b0a726de26fc29015556a11288940ac.zip
usb: musb: remove an unused variable
After the only users of this variable got removed, we now get a warning about 'otg' being unused: drivers/usb/musb/da8xx.c: In function 'da8xx_musb_interrupt': drivers/usb/musb/da8xx.c:226:19: error: unused variable 'otg' [-Werror=unused-variable] Fixes: d2852f2d3e6d ("usb: musb: remove references to default_a of struct usb_otg") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/da8xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 0e5929e81d26..1c023c0091c4 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb/musb/da8xx.c
@@ -223,7 +223,6 @@ static irqreturn_t da8xx_musb_interrupt(int irq, void *hci)
{
struct musb *musb = hci;
void __iomem *reg_base = musb->ctrl_base;
- struct usb_otg *otg = musb->xceiv->otg;
unsigned long flags;
irqreturn_t ret = IRQ_NONE;
u32 status;
OpenPOWER on IntegriCloud