From: Devendra Naga Date: Sun, 9 Sep 2012 13:10:53 +0000 (+0530) Subject: staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn X-Git-Tag: v3.7-rc1~173^2~438 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f5142583066d6d9a9484b060779dad419780720;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.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 7843dfd..01a20d5 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: - ; - } /*----------------------------------------------------------------