]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: rtl8188eu: change type of is_cck_rate - style
authorMichael Straube <straube.linux@gmail.com>
Sun, 21 Oct 2018 19:45:28 +0000 (21:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:41:00 +0000 (12:41 +0100)
commit636e10b89f5d5479079f6b360c9160a0bc9a0dbd
treecbdd412ab55815a821fa361be41abb1708f8d00c
parent755842d8c7900be0b8bd87eaf23cc61bb53b47c7
staging: rtl8188eu: change type of is_cck_rate - style

The variable is_cck_rate is used for boolean values, so change the
type from u8 to bool. The initializations to zero and use of ternary
operator in the assignments are unnecessary, remove them as well.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_hwconfig.c