diff options
author | Aviv Palivoda <palaviv@gmail.com> | 2017-05-15 08:55:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 08:16:39 +0200 |
commit | e06c1f6b4fff266f55ebd0a88992f9872a5779c3 (patch) | |
tree | d2d7280a515edb3273a1c037001a2cb0a649d8ff /drivers/staging/rtl8188eu/hal | |
parent | 592a55ef2a2611b2fae2a5e7d43127b5f06eb502 (diff) | |
download | linux-e06c1f6b4fff266f55ebd0a88992f9872a5779c3.tar.gz linux-e06c1f6b4fff266f55ebd0a88992f9872a5779c3.tar.bz2 linux-e06c1f6b4fff266f55ebd0a88992f9872a5779c3.zip |
staging: rtl8188eu: Put constant on right side of comparison
Constants should be on the right side of comparisons.
Issue found by checkpatch.pl script.
Signed-off-by: Aviv Palivoda <palaviv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/phy.c b/drivers/staging/rtl8188eu/hal/phy.c index 054f5996f60d..3039bbe44a25 100644 --- a/drivers/staging/rtl8188eu/hal/phy.c +++ b/drivers/staging/rtl8188eu/hal/phy.c @@ -1091,7 +1091,7 @@ static void phy_iq_calibrate(struct adapter *adapt, s32 result[][8], } } - if (0x00 == path_a_ok) { + if (path_a_ok == 0x00) { ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A IQK failed!!\n")); } @@ -1122,7 +1122,7 @@ static void phy_iq_calibrate(struct adapter *adapt, s32 result[][8], } } - if (0x00 == path_b_ok) { + if (path_b_ok == 0x00) { ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQK failed!!\n")); } |