diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-10-06 14:23:18 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 10:29:11 +0800 |
commit | 366ba427032eaefdec9d3fd318f23eea2b26ead6 (patch) | |
tree | 7a459eb3d21a8ac16c2508352113d61bcae8c0bc /drivers/staging/rtl8712/rtl871x_io.c | |
parent | 14ad732c2d19858cc43b4b7421d63b82575bc84e (diff) | |
download | op-kernel-dev-366ba427032eaefdec9d3fd318f23eea2b26ead6.zip op-kernel-dev-366ba427032eaefdec9d3fd318f23eea2b26ead6.tar.gz |
staging: rtl8712: Delete explicit comparison with false and NULL
This patch delete explicit comparison to false and NULL in files of
rtl8712.
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_io.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_io.c b/drivers/staging/rtl8712/rtl871x_io.c index d7b63ae..3a02366 100644 --- a/drivers/staging/rtl8712/rtl871x_io.c +++ b/drivers/staging/rtl8712/rtl871x_io.c @@ -93,7 +93,7 @@ static uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl) pintfhdl->intf_option = 0; pintfhdl->adapter = dev; pintfhdl->intf_dev = (u8 *)&(adapter->dvobjpriv); - if (_init_intf_hdl(adapter, pintfhdl) == false) + if (!_init_intf_hdl(adapter, pintfhdl)) goto register_intf_hdl_fail; return _SUCCESS; register_intf_hdl_fail: |