summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-08-28 11:19:02 -0700
committerFelipe Balbi <balbi@ti.com>2014-09-02 09:16:45 -0500
commitd3102a5eaac708ab83fede0986f90e9971be55d3 (patch)
tree40edc473224cf5f1fe8513db34d8b92ead457e31
parentfa9a582da9e78c8498654d5c9c221ec3690944c1 (diff)
downloadlinux-stable-d3102a5eaac708ab83fede0986f90e9971be55d3.tar.gz
linux-stable-d3102a5eaac708ab83fede0986f90e9971be55d3.tar.bz2
linux-stable-d3102a5eaac708ab83fede0986f90e9971be55d3.zip
usb: phy: twl6030-usb: Remove unused irq_enabled
It's not being used any longer. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/phy/phy-twl6030-usb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c
index 04778cf80d60..44ea082e40dc 100644
--- a/drivers/usb/phy/phy-twl6030-usb.c
+++ b/drivers/usb/phy/phy-twl6030-usb.c
@@ -104,7 +104,6 @@ struct twl6030_usb {
int irq2;
enum omap_musb_vbus_id_status linkstat;
u8 asleep;
- bool irq_enabled;
bool vbus_enable;
const char *regulator;
};
@@ -373,7 +372,6 @@ static int twl6030_usb_probe(struct platform_device *pdev)
INIT_WORK(&twl->set_vbus_work, otg_set_vbus_work);
- twl->irq_enabled = true;
status = request_threaded_irq(twl->irq1, NULL, twl6030_usbotg_irq,
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | IRQF_ONESHOT,
"twl6030_usb", twl);