staging: rtl8188eu: clean up the useless code
authorKaixu Xia <kaixuxia@tencent.com>
Sun, 15 Nov 2020 12:13:20 +0000 (20:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Nov 2020 16:59:52 +0000 (17:59 +0100)
commit9822b90444000b81d450e42a04a044f077c1d0c9
tree9ee44264114987c321999ca1fa77324ad12dca15
parent6b8fb5ecf7f357d6a70a87f87d94c967c174cb97
staging: rtl8188eu: clean up the useless code

The two bool variables singletone and carrier_sup are always false
and the following if statement can't be true, these code are useless,
so remove them.

Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1605442400-16108-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/phy.c