diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-12-19 17:39:45 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-12-30 17:34:26 +0200 |
commit | d47762633fd2b2471868266d55acb6f3a5b4052b (patch) | |
tree | 07cffbc395c838db56b7a3f1feb1e8881f122454 | |
parent | 97d14b623c481126416f98dea9d40f650d518ee7 (diff) | |
download | op-kernel-dev-d47762633fd2b2471868266d55acb6f3a5b4052b.zip op-kernel-dev-d47762633fd2b2471868266d55acb6f3a5b4052b.tar.gz |
rsi: bool tests do not need comparison
This is an API consolidation only. Bool initializations should
use true and false thus bool tests don't need an explicit comparison.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_mgmt.c b/drivers/net/wireless/rsi/rsi_91x_mgmt.c index 0391406..e43b59d 100644 --- a/drivers/net/wireless/rsi/rsi_91x_mgmt.c +++ b/drivers/net/wireless/rsi/rsi_91x_mgmt.c @@ -1226,7 +1226,7 @@ int rsi_send_block_unblock_frame(struct rsi_common *common, bool block_event) mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); mgmt_frame->desc_word[1] = cpu_to_le16(BLOCK_HW_QUEUE); - if (block_event == true) { + if (block_event) { rsi_dbg(INFO_ZONE, "blocking the data qs\n"); mgmt_frame->desc_word[4] = cpu_to_le16(0xf); } else { |