staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 9 Sep 2012 13:10:53 +0000 (18:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:42:51 +0000 (15:42 -0700)
goto done is not required and simple return is fine

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 7843dfd..01a20d5 100644 (file)
@@ -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:
-       ;
-
 }
 
 /*----------------------------------------------------------------