summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-03 06:29:00 +0100
committerFelipe Balbi <balbi@ti.com>2014-02-18 17:52:53 +0100
commit236064c253581367a62d67083a620318670683d0 (patch)
tree1c5a0f2ac6836168bd837156ae68c3095c1d0cf6 /drivers/usb
parentusb: gadget: s3c2410_udc: Fix build error (diff)
downloadlinux-236064c253581367a62d67083a620318670683d0.tar.xz
linux-236064c253581367a62d67083a620318670683d0.zip
usb: gadget: s3c-hsudc: remove unused label
Fixes the following compilation warning: drivers/usb/gadget/s3c-hsudc.c: In function ‘s3c_hsudc_probe’: drivers/usb/gadget/s3c-hsudc.c:1347:1: warning: label ‘err_add_device’ defined but not used [-Wunused-label] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to '')
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index ea4bbfe72ec0..10c6a128250c 100644
--- a/drivers/usb/gadget/s3c-hsudc.c
+++ b/drivers/usb/gadget/s3c-hsudc.c
@@ -1344,7 +1344,6 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
return 0;
err_add_udc:
-err_add_device:
clk_disable(hsudc->uclk);
err_res:
if (!IS_ERR_OR_NULL(hsudc->transceiver))