From 905f499e20301127226f3ef636a7cad28e41c2d9 Mon Sep 17 00:00:00 2001 From: Vincent Caron Date: Mon, 14 Jul 2025 15:17:43 +0200 Subject: [PATCH] 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 --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.47.2