]> www.infradead.org Git - linux.git/commitdiff
staging: rtl8723bs: style fix open brace on new line
authorSai Sree Kartheek Adivi <sskartheekadivi@gmail.com>
Tue, 30 Jul 2024 06:59:01 +0000 (06:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2024 07:22:13 +0000 (09:22 +0200)
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@gmail.com>
Link: https://lore.kernel.org/r/20240730065901.35254-1-sskartheekadivi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/osdep_service.h

index cf96b5f7a77629d5e30b957e978cd9292fd15466..5629123cd6688ac20ac7e35a13d53e1601a8fc5c 100644 (file)
@@ -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)