usb: gadget: fsl_udc: Removed unnecessary checks
authorBenoit Goby <benoit@android.com>
Wed, 29 Sep 2010 23:17:18 +0000 (16:17 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:58 +0000 (16:28 -0700)
commit4929bfebc75c4ca1407c377c7b0599b26a783788
treef5cd76ee8c878fbf9fcb3ec07fe83ee3bf1d60cb
parent2973ae6586d2abe28d45e35a47c8fe05ed7c43d6
usb: gadget: fsl_udc: Removed unnecessary checks

The OTG driver disables the gadget device when the cable is
removed, so there is no need to check if the cable is plugged
before touching registers.

Change-Id: I0b1a3a8b07560d3eca2e2e25574b5219e3373808
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/fsl_udc_core.c