]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: phy: twl4030-usb: Remove unused irq_enabled
authorTony Lindgren <tony@atomide.com>
Mon, 18 Aug 2014 14:54:16 +0000 (07:54 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:32 +0000 (15:18 +0530)
It's not being used any longer.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-twl4030-usb.c

index 9cd33a4bcfb193c99bd03d981f9d75d0e54f7bac..bc28eccb029ea6602002a8305421c4351799bb1f 100644 (file)
@@ -164,7 +164,6 @@ struct twl4030_usb {
        enum omap_musb_vbus_id_status linkstat;
        bool                    vbus_supplied;
        u8                      asleep;
-       bool                    irq_enabled;
 
        struct delayed_work     id_workaround_work;
 };
@@ -755,7 +754,6 @@ static int twl4030_usb_probe(struct platform_device *pdev)
         * set_host() and/or set_peripheral() ... OTG_capable boards
         * need both handles, otherwise just one suffices.
         */
-       twl->irq_enabled = true;
        status = devm_request_threaded_irq(twl->dev, twl->irq, NULL,
                        twl4030_usb_irq, IRQF_TRIGGER_FALLING |
                        IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl4030_usb", twl);