From: Bhagyashri Dighole Date: Thu, 14 Mar 2019 12:18:03 +0000 (+0530) Subject: staging: rtlwifi: Replace 0 with false. X-Git-Tag: v5.15~6451^2~420 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5f4a5684d1b512e7e823d45cd311d81af92a09f;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c b/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c index b519d18..9198189 100644 --- a/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c +++ b/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c @@ -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"),