[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240730065901.35254-1-sskartheekadivi@gmail.com>
Date: Tue, 30 Jul 2024 06:59:01 +0000
From: Sai Sree Kartheek Adivi <sskartheekadivi@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: ~lkcamp/patches@...ts.sr.ht,
helen.koike@...labora.com
Subject: [PATCH v2] staging: rtl8723bs: style fix open brace on new line
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@...il.com>
---
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
Powered by blists - more mailing lists