Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nicholas Mc Guire and committed by
Kalle Valo
d4776263 97d14b62

+1 -1
+1 -1
drivers/net/wireless/rsi/rsi_91x_mgmt.c
··· 1226 1226 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); 1227 1227 mgmt_frame->desc_word[1] = cpu_to_le16(BLOCK_HW_QUEUE); 1228 1228 1229 - if (block_event == true) { 1229 + if (block_event) { 1230 1230 rsi_dbg(INFO_ZONE, "blocking the data qs\n"); 1231 1231 mgmt_frame->desc_word[4] = cpu_to_le16(0xf); 1232 1232 } else {