]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wcd9335: Remove unnecessary conversion to bool
authorKaixu Xia <kaixuxia@tencent.com>
Fri, 6 Nov 2020 08:53:36 +0000 (16:53 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2020 18:00:23 +0000 (18:00 +0000)
commitc1843591b840d27e0481aa11072e32a93e4fd789
tree72252d17da36eaf2e7d664261f26acd3d5713d27
parent02542a46ec795aab1046e75dbcb51bd8c7e31789
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: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604652816-1330-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c