Staging: rtl8192u: Bool tests don't need comparisons
authorCristina Opriceana <cristina.opriceana@gmail.com>
Fri, 13 Mar 2015 19:21:31 +0000 (21:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 14:56:46 +0000 (15:56 +0100)
commita0886f7303310525f032debdff85877356c9a7ab
treee5fb26baa03c421a1ee93b9e484a7669a53b9c7c
parent2a7089dbd1e8a9bec3d39efcb11c2eda6d5a95c0
Staging: rtl8192u: Bool tests don't need comparisons

This patch removes explicit true/false comparations to bool variables.
Warning found by coccinelle:
"WARNING: Comparison to bool"

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c
drivers/staging/rtl8192u/r8192U_core.c
drivers/staging/rtl8192u/r819xU_firmware.c
drivers/staging/rtl8192u/r819xU_phy.c