[PATCH v2] staging: rtl8723bs: style fix open brace on new line

From: Sai Sree Kartheek Adivi
Date: Tue Jul 30 2024 - 02:59:52 EST


It fixes the following checkpatch.pl error
"ERROR: that open brace { should be on the previous line" and avoids the
warning "WARNING: braces {} are not necessary for single statement blocks".

Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@xxxxxxxxx>
---
Updated the commit message.
This is my first contribution. Hope I did everything right!

drivers/staging/rtl8723bs/include/osdep_service.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/osdep_service.h b/drivers/staging/rtl8723bs/include/osdep_service.h
index cf96b5f7a..5629123cd 100644
--- a/drivers/staging/rtl8723bs/include/osdep_service.h
+++ b/drivers/staging/rtl8723bs/include/osdep_service.h
@@ -81,9 +81,7 @@ static inline void thread_enter(char *name)
static inline void flush_signals_thread(void)
{
if (signal_pending(current))
- {
flush_signals(current);
- }
}

#define rtw_warn_on(condition) WARN_ON(condition)
--
2.20.1