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 455ecdc8d9fa7c8a0d78c5d11a4049a9142f4d11..954cade478db37b3a0394ec1dc37f9b5925fe336 100644 (file)
@@ -295,7 +295,7 @@ static bool rf6052_conf_para(struct adapter *adapt)
                        break;
                }
 
-               if (rtstatus != true)
+               if (!rtstatus)
                        return false;
        }