Commit 9cd1c5a7 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Vinod Koul

soundwire: intel_init: remove useless test

No need to test link_mask twice
Suggested-by: default avatarRander Wang <rander.wang@intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200531182102.27840-4-yung-chuan.liao@linux.intel.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 83e129af
...@@ -109,7 +109,7 @@ static struct sdw_intel_ctx ...@@ -109,7 +109,7 @@ static struct sdw_intel_ctx
/* Create SDW Master devices */ /* Create SDW Master devices */
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {
if (link_mask && !(link_mask & BIT(i))) { if (!(link_mask & BIT(i))) {
dev_dbg(&adev->dev, dev_dbg(&adev->dev,
"Link %d masked, will not be enabled\n", i); "Link %d masked, will not be enabled\n", i);
link++; link++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment