staging: rtl8723bs: replace ternary operator with if-else block
authorAtin Bainada <hi@atinb.me>
Sat, 13 May 2023 21:44:31 +0000 (21:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 May 2023 09:11:29 +0000 (10:11 +0100)
commitdffef6de4db2ddbf1d456e618d06b128b9d0018b
tree7ffd1801171553ef202c910d72aa7f124ae00091
parent09201af57ca4d98a992413b39d51aa1f70beb98c
staging: rtl8723bs: replace ternary operator with if-else block

replace the ternary operator used for assignment of pHalData->ant_path
with an if-else block for better readability

Signed-off-by: Atin Bainada <hi@atinb.me>
Link: https://lore.kernel.org/r/20230513214338.79833-1-hi@atinb.me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c