From: Prasanna Karthik Date: Mon, 29 Jun 2015 12:57:35 +0000 (+0000) Subject: staging:rtl8188eu: Code cleanup fix reported by coccinelle X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9e7e78d8298bd487f7a0d2b0c62033b3841d03ca;p=linux-beck.git staging:rtl8188eu: Code cleanup fix reported by coccinelle bool check modified Signed-off-by: Prasanna Karthik Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/rf_cfg.c b/drivers/staging/rtl8188eu/hal/rf_cfg.c index 455ecdc8d9fa..954cade478db 100644 --- a/drivers/staging/rtl8188eu/hal/rf_cfg.c +++ b/drivers/staging/rtl8188eu/hal/rf_cfg.c @@ -295,7 +295,7 @@ static bool rf6052_conf_para(struct adapter *adapt) break; } - if (rtstatus != true) + if (!rtstatus) return false; }