staging: r8188eu/core: remove the check for NULL pointer in _rtw_enqueue_cmd()
authorQiang Ma <maqianga@uniontech.com>
Wed, 16 Jun 2021 12:53:32 +0000 (20:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:03:19 +0000 (13:03 +0200)
commit3c07e1eaafdb642fe7f8dd050ce04552c875057e
tree95d507e243d78ea5167fd1440157dd8ba19544e3
parenta85adbb5858a29cf7e364985583724fa996a8839
staging: r8188eu/core: remove the check for NULL pointer in _rtw_enqueue_cmd()

Remove the check for _rtw_enqueue_cmd(), because
rtw_enqueue_cmd() already has a check of NULL pointer,
so this condition is not possible.

Signed-off-by: Qiang Ma <maqianga@uniontech.com>
Link: https://lore.kernel.org/r/20210616125332.31674-1-maqianga@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c