staging:rtl8188eu: Code cleanup fix reported by coccinelle
authorPrasanna Karthik <mkarthi3@visteon.com>
Mon, 29 Jun 2015 12:57:35 +0000 (12:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 03:07:42 +0000 (20:07 -0700)
bool check modified

Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rf_cfg.c

index 455ecdc..954cade 100644 (file)
@@ -295,7 +295,7 @@ static bool rf6052_conf_para(struct adapter *adapt)
                        break;
                }
 
-               if (rtstatus != true)
+               if (!rtstatus)
                        return false;
        }