Skip to content

Commit

Permalink
staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent ae24e13 commit 3f51425
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/wlan-ng/hfa384x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
;

}

/*----------------------------------------------------------------
Expand Down

0 comments on commit 3f51425

Please sign in to comment.