summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Caron <vcaron@bearstech.com>2025-07-14 15:17:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-15 10:11:09 +0200
commit905f499e20301127226f3ef636a7cad28e41c2d9 (patch)
treef03e58645c91591cd49b3af72020a76e1a23f934
parentaea29410dcccad21c8f02a824aeb6e96ab668f31 (diff)
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 <vcaron@bearstech.com> Link: https://lore.kernel.org/r/20250714131743.343482-1-vcaron@bearstech.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/os_dep/os_intfs.c4
1 files 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 292b5f8dc01b..7c498b5e843f 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));