From: Pierre-Louis Bossart Date: Wed, 1 May 2019 15:57:30 +0000 (-0500) Subject: soundwire: bus: fix boolean comparisons X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d7b956b6257b20e3c65ed5877e3ac493a88350fd;p=openwrt%2Fstaging%2Fblogic.git soundwire: bus: fix boolean comparisons no need for an explicit test against false reported by Coccinelle Reviewed-by: Takashi Iwai Signed-off-by: Pierre-Louis Bossart Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index 423dc6d17999..863bf418e342 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -571,7 +571,7 @@ static int sdw_program_device_num(struct sdw_bus *bus) } } - if (found == false) { + if (!found) { /* TODO: Park this device in Group 13 */ dev_err(bus->dev, "Slave Entry not found"); }