ath11k: remove conversion to bool in ath11k_debug_fw_stats_process()
authorJason Yan <yanaijie@huawei.com>
Mon, 20 Apr 2020 12:37:45 +0000 (20:37 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 22 Apr 2020 06:42:35 +0000 (09:42 +0300)
commitd81709346ceac7b9131b4a091197b9d7fc5a409f
tree388a582cd5f1da56f875342fdd652c607834cff5
parent8af40902f839f5431b89ce2a035ee01e51b31a1d
ath11k: remove conversion to bool in ath11k_debug_fw_stats_process()

The '==' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:

drivers/net/wireless/ath/ath11k/debug.c:198:57-62: WARNING: conversion
to bool not needed here
drivers/net/wireless/ath/ath11k/debug.c:218:58-63: WARNING: conversion
to bool not needed here

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200420123745.4159-1-yanaijie@huawei.com
drivers/net/wireless/ath/ath11k/debug.c