]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8723bs: Initialize variables at declaration in rtl8723b_hal_init.c
authorErick Karanja <karanja99erick@gmail.com>
Thu, 10 Apr 2025 07:11:51 +0000 (10:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:30:01 +0000 (16:30 +0200)
commit12ad640a04aa33961954be66c604a969a2dc9391
tree96ce9aedd1f970b1a68f1621405446ef9e264f39
parent0eb3d8c1ff1bcc5e31c7787d183406c27c72e6de
staging: rtl8723bs: Initialize variables at declaration in rtl8723b_hal_init.c

Make the code more concise and readable by integrating the initialization
directly into the variable declaration in cases where the initialization
is simple and doesn't depend on other variables or complex expressions.

Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://lore.kernel.org/r/4d52a207eadd99ad998214aa8eb059f725c94802.1744268316.git.karanja99erick@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c