[PATCH] sound/soc: remove useless bool conversion to bool variable

Mark Brown broonie at kernel.org
Mon Dec 6 14:24:56 CET 2021


On Sun, Dec 05, 2021 at 06:11:00PM -0800, Bernard Zhao wrote:

> This patch remove useless bool conversion to bool variable

> -	classh_config->classh_algo_enable = classh ? true : false;
> +	classh_config->classh_algo_enable = (classh != NULL);

There's no bool variable here...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20211206/d765b17a/attachment.sig>


More information about the Alsa-devel mailing list