From: Devendra Naga Date: Sun, 9 Sep 2012 13:10:53 +0000 (+0530) Subject: staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f5142583066d6d9a9484b060779dad419780720;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn goto done is not required and simple return is fine Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 7843dfdaa3cf..01a20d5ba6d7 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -3985,15 +3985,10 @@ static void hfa384x_usbctlx_resptimerfn(unsigned long data) if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) { spin_unlock_irqrestore(&hw->ctlxq.lock, flags); hfa384x_usbctlxq_run(hw); - goto done; + return; } } - spin_unlock_irqrestore(&hw->ctlxq.lock, flags); - -done: - ; - } /*----------------------------------------------------------------