]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: rtl8723bs: fix placement of braces
authorHannes Braun <hannesbraun@mail.de>
Sat, 28 May 2022 12:31:15 +0000 (14:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:48:59 +0000 (08:48 +0100)
commit7fa3bb1bcabe7e1526100174199a9b96c4d22331
treea5e27e26c0652bdcfb3501ee13a6cbd4f8ae926f
parent962293f5443c257fd51e4deab58d05e9b25aa558
staging: rtl8723bs: fix placement of braces

[ Upstream commit a8b088d6d98dafddda9874f98ac2a7cefc51639b ]

This patch should eliminate the following errors/warnings emitted by
checkpatch.pl:
- that open brace { should be on the previous line
- else should follow close brace '}'
- braces {} are not necessary for single statement blocks

Signed-off-by: Hannes Braun <hannesbraun@mail.de>
Link: https://lore.kernel.org/r/20220528123115.13024-1-hannesbraun@mail.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 05cbcc415c9b ("staging: rtl8723bs: Fix key-store index handling")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c