Skip to contentSkip to conversation

soundwire: intel: Remove duplicate assignment

PATCH In review Vinod Koul 2 participants 2 messages Aug 7, 2018 SoundWire

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 soundwire: intel: Remove duplicate assignment

From: Shreyas NC <[email protected]>

---
 drivers/soundwire/intel.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/soundwire/intel.c +0 -3
index da7f91f1a588..c5ee97ee7886 100644
@@ -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);
Signature · 1 line
2.14.4
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Vinod Koul

From: Shreyas NC <[email protected]>

Quoted 19 lines
---
  drivers/soundwire/intel.c | 3 ---
  1 file changed, 3 deletions(-)
drivers/soundwire/intel.c +0 -3
index da7f91f1a588..c5ee97ee7886 100644
@@ -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);