mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
This commit is contained in:
parent
97d14b623c
commit
d47762633f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue