Thus wrote Fabio M. De Francesco ([email protected]):
> Remove a redundant 'if' statement.
> Signed-off-by: Fabio M. De Francesco <[email protected]>
> ---
> drivers/staging/r8188eu/core/rtw_cmd.c | 6 ------
> 1 file changed, 6 deletions(-)
> diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c
> index 2900c31d8ec9..2263e35b45cb 100644
> --- a/drivers/staging/r8188eu/core/rtw_cmd.c
> +++ b/drivers/staging/r8188eu/core/rtw_cmd.c
> @@ -255,12 +255,6 @@ int rtw_cmd_thread(void *context)
> if (wait_for_completion_killable(&pcmdpriv->enqueue_cmd))
> 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) {
> --
> 2.33.0
Acked-by: Martin Kaiser <[email protected]>