]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8192e: reduce indentation level
authorMichael Straube <straube.linux@gmail.com>
Mon, 27 May 2024 09:45:26 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:35:02 +0000 (13:35 +0200)
commitcf22697653a9f61b116b9ba0ad9182cc0e9b43e3
tree2c21073cabb402c8fe9266ea00cd701c3bbcea24
parentd1700a1bd23c629fb7b294eb748384b9f44f02c3
staging: rtl8192e: reduce indentation level

Reduce indentation level in _rtl92e_dm_rx_path_sel_byrssi() by negating
if statements and use continue in for loops. This way the indentation
level of the code that is covered by the if checks can be reduced. This
improves readability and clears two checkpatch warnings.

WARNING: Too many leading tabs - consider code refactoring

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240527094527.2046-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c