2020-04-28 09:13:08

by Kalle Valo

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

Jason Yan <[email protected]> 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 <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

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