]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove braces from two single line if blocks
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 9 Feb 2021 00:10:43 +0000 (00:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Feb 2021 08:28:19 +0000 (09:28 +0100)
commitc7c9b226cae3a941329f43994237aebb7da87d17
treefdf436cab1e75e88b7693851eed03fc564ece2ef
parent669e2f401e51331bbe8e68dbecacc32d89ff4088
staging: rtl8723bs: remove braces from two single line if blocks

Remove braces from both occurences of single line if blocks in
include/rtw_mlme.h, fixes two checkpatch warnings, thus clearing
this type of warning from this file.

Also swaps two if statement comparisons around, so the variable is on
the left in each one. This fixes two warnings also.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210209001043.165080-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_mlme.h