staging: r8188eu: remove useless if else
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 11 Feb 2022 08:03:22 +0000 (16:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:06:06 +0000 (17:06 +0100)
commit5d2ed511b4a220332eb17725757dda433e9d35c4
treef4ad2f03eda0c9af4228546c307fe640bd698352
parent3b335cf1f67d770797abc99b6323be2f6c1cb04e
staging: r8188eu: remove useless if else

Eliminate the follow coccicheck warning:

./drivers/staging/r8188eu/hal/usb_halinit.c:1105:3-5: WARNING: possible
condition with no effect (if == else).

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220211080322.80388-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c