mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 13:43:21 -04:00
staging: rtlwifi: Replace 0 with false.
Replace 0 with false, Bool intializations should use true or false. Detected by Coccinelle semantic patch boolinit.cocci. Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3df3162f1d
commit
d5f4a5684d
@@ -830,7 +830,7 @@ static void halbtc_display_wifi_status(struct btc_coexist *btcoexist,
|
||||
dc_mode = true; /*TODO*/
|
||||
under_ips = rtlpriv->psc.inactive_pwrstate == ERFOFF ? 1 : 0;
|
||||
under_lps = rtlpriv->psc.dot11_psmode == EACTIVE ? 0 : 1;
|
||||
low_power = 0; /*TODO*/
|
||||
low_power = false; /*TODO*/
|
||||
seq_printf(m, "\n %-35s = %s%s%s%s",
|
||||
"Power Status",
|
||||
(dc_mode ? "DC mode" : "AC mode"),
|
||||
|
||||
Reference in New Issue
Block a user