Tag: 44acc6b524d77c86ccfc18fb036dfb2b70a905c0

Staging: rtl8192e: Bool tests don’t need comparisons

Author: Cristina Opriceana <cristina.opriceana@gmail.com> This patch removes comparisons to true/false values on bool variables. Warning found by coccinelle: “WARNING: Comparison to bool”. Signed-off-by: Cristina Opriceana Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 40 +++++++++++++++————— 1 file changed, 20 insertions(+), 20 deletions(-)   diff –git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index c233a1c..9e65c32 100644 — a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c …

Continue reading