mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
f7c76283fc
There are certain conditional expressions in rtl8192c-common, where a boolean variable is compared with true/false, in forms such as (foo == true) or (false != bar), which does not comply with checkpatch.pl (CHECK: BOOL_COMPARISON), according to which boolean variables should be themselves used in the condition, rather than comparing with true/false E.g., in drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c, "else if (initialized == false) {" can be replaced with "else if (!initialized) {" Replace all such expressions with the bool variables appropriately Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210110121525.2407-3-yashsri421@gmail.com |
||
---|---|---|
.. | ||
dm_common.c | ||
dm_common.h | ||
fw_common.c | ||
fw_common.h | ||
main.c | ||
Makefile | ||
phy_common.c | ||
phy_common.h |