mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
soundwire: bus: fix boolean comparisons
no need for an explicit test against false reported by Coccinelle Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
09830d5e34
commit
d7b956b625
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user