mirror of https://gitee.com/openkylin/linux.git
staging:wlan-ng: cleanup hfa384x_usbctlx_resptimerfn
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>
This commit is contained in:
parent
ae24e13a64
commit
3f51425830
|
@ -3985,15 +3985,10 @@ static void hfa384x_usbctlx_resptimerfn(unsigned long data)
|
||||||
if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) {
|
if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) {
|
||||||
spin_unlock_irqrestore(&hw->ctlxq.lock, flags);
|
spin_unlock_irqrestore(&hw->ctlxq.lock, flags);
|
||||||
hfa384x_usbctlxq_run(hw);
|
hfa384x_usbctlxq_run(hw);
|
||||||
goto done;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
spin_unlock_irqrestore(&hw->ctlxq.lock, flags);
|
spin_unlock_irqrestore(&hw->ctlxq.lock, flags);
|
||||||
|
|
||||||
done:
|
|
||||||
;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------
|
/*----------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue