usb: gadget: s3c-hsudc: remove unused label
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 3 Jan 2014 05:29:00 +0000 (10:59 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Feb 2014 16:52:53 +0000 (10:52 -0600)
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>
drivers/usb/gadget/s3c-hsudc.c

index ea4bbfe72ec0ba1ef0ff111fd1f982b2db981565..10c6a128250c6cd249bb56b35655ec946820dc32 100644 (file)
@@ -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))