diff options
author | Prasanna Karthik <mkarthi3@visteon.com> | 2015-06-29 12:57:35 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-14 20:07:42 -0700 |
commit | 9e7e78d8298bd487f7a0d2b0c62033b3841d03ca (patch) | |
tree | de7f81d2483dc0993dbf645744d44c70126ff544 /drivers/staging/rtl8188eu | |
parent | 027d3efd933d87ca3d9a28365cae795c14e7a563 (diff) | |
download | talos-op-linux-9e7e78d8298bd487f7a0d2b0c62033b3841d03ca.tar.gz talos-op-linux-9e7e78d8298bd487f7a0d2b0c62033b3841d03ca.zip |
staging:rtl8188eu: Code cleanup fix reported by coccinelle
bool check modified
Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rf_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |