From: Vincent Caron Date: Mon, 14 Jul 2025 13:17:43 +0000 (+0200) Subject: staging: rtl8723bs: remove spurious if-block braces X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=905f499e20301127226f3ef636a7cad28e41c2d9;p=users%2Fjedix%2Flinux-maple.git staging: rtl8723bs: remove spurious if-block braces Fix checkpatch "WARNING: braces {} are not necessary for single statement blocks" in rtl8723bs/os_dep/os_intfs.c:1207. Signed-off-by: Vincent Caron Link: https://lore.kernel.org/r/20250714131743.343482-1-vcaron@bearstech.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 292b5f8dc01b9..7c498b5e843f0 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -1203,9 +1203,9 @@ int rtw_resume_common(struct adapter *padapter) hal_btcoex_SuspendNotify(padapter, 0); - if (pwrpriv) { + if (pwrpriv) pwrpriv->bInSuspend = false; - } + netdev_dbg(padapter->pnetdev, "%s:%d in %d ms\n", __func__, ret, jiffies_to_msecs(jiffies - start_time));