Re: [PATCH] ath5k: remove conversion to bool in ath5k_ani_calibration()

From: Kalle Valo
Date: Tue Apr 28 2020 - 05:12:07 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> The '>' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
>
> drivers/net/wireless/ath/ath5k/ani.c:504:56-61: WARNING: conversion to
> bool not needed here
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

c26b01d5ec1a ath5k: remove conversion to bool in ath5k_ani_calibration()

--
https://patchwork.kernel.org/patch/11510327/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches