mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
staging: rtl8188eu: remove duplicate if statement
There's two identical checks if the device was stopped or unplugged. Remove one of them. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210408195601.4762-10-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ddc7e53e5e
commit
ea21efe662
|
|
@ -191,13 +191,6 @@ int rtw_cmd_thread(void *context)
|
|||
if (wait_for_completion_interruptible(&pcmdpriv->cmd_queue_comp))
|
||||
break;
|
||||
|
||||
if (padapter->bDriverStopped ||
|
||||
padapter->bSurpriseRemoved) {
|
||||
DBG_88E("%s: DriverStopped(%d) SurpriseRemoved(%d) break at line %d\n",
|
||||
__func__, padapter->bDriverStopped,
|
||||
padapter->bSurpriseRemoved, __LINE__);
|
||||
break;
|
||||
}
|
||||
_next:
|
||||
if (padapter->bDriverStopped ||
|
||||
padapter->bSurpriseRemoved) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user