Skip to content
Unverified Commit a5ec7c9e authored by Kaixu Xia's avatar Kaixu Xia Committed by Mark Brown
Browse files

ASoC: wcd9335: Remove unnecessary conversion to bool



The '>=' expression itself is bool, no need to convert it to bool.
Fix the following coccicheck warning:

./sound/soc/codecs/wcd9335.c:3982:25-30: WARNING: conversion to bool not needed here

Reported-by: default avatarTosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: default avatarKaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604652816-1330-1-git-send-email-kaixuxia@tencent.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5268e0bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment