[alsa-devel] [PATCH] soundwire: intel: Remove duplicate assignment

Vinod Koul vkoul at kernel.org
Tue Aug 7 13:58:37 CEST 2018


From: Shreyas NC <shreyas.nc at intel.com>

Signed-off-by: Shreyas NC <shreyas.nc at intel.com>
Signed-off-by: Vinod Koul <vkoul at kernel.org>
---
 drivers/soundwire/intel.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
index da7f91f1a588..c5ee97ee7886 100644
--- a/drivers/soundwire/intel.c
+++ b/drivers/soundwire/intel.c
@@ -845,9 +845,6 @@ static int intel_probe(struct platform_device *pdev)
 	sdw_intel_ops.read_prop = intel_prop_read;
 	sdw->cdns.bus.ops = &sdw_intel_ops;
 
-	sdw_intel_ops.read_prop = intel_prop_read;
-	sdw->cdns.bus.ops = &sdw_intel_ops;
-
 	platform_set_drvdata(pdev, sdw);
 
 	ret = sdw_add_bus_master(&sdw->cdns.bus);
-- 
2.14.4



More information about the Alsa-devel mailing list