staging: r8188eu: convert two u8 variables to bool
authorMichael Straube <straube.linux@gmail.com>
Sun, 20 Feb 2022 10:02:09 +0000 (11:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Feb 2022 17:11:03 +0000 (18:11 +0100)
commit165f2997adfc66ed812a192662142f49026b97c5
tree585ac290fe4e355e89fac6ef4d28f3c7bebdae06
parentbffd6e0a73988ef358e93e6b1a9ab298f38dfafd
staging: r8188eu: convert two u8 variables to bool

The variables bScanInProcess in struct mlme_priv and bpower_saving in
struct pwrctrl_priv are both unsed to store only boolean values true
and false. Convert them from u8 to bool to avoid type casts in the
function Update_ODM_ComInfo_88E().

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220220100212.7466-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_dm.c
drivers/staging/r8188eu/include/rtw_mlme.h
drivers/staging/r8188eu/include/rtw_pwrctrl.h