summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorShreyas NC <shreyas.nc@intel.com>2018-08-07 13:56:00 +0200
committerVinod Koul <vkoul@kernel.org>2018-08-27 06:19:48 +0200
commitc272a766db4f826d3ba35c734894dfcdb0740827 (patch)
tree90a2a98d7b76b09e0236ed9f0602726ff57dfe0c /drivers/soundwire
parentMAINTAINERS: Update Vinod's email (diff)
downloadlinux-c272a766db4f826d3ba35c734894dfcdb0740827.tar.xz
linux-c272a766db4f826d3ba35c734894dfcdb0740827.zip
soundwire: intel: Remove duplicate assignment
Signed-off-by: Shreyas NC <shreyas.nc@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r--drivers/soundwire/intel.c3
1 files changed, 0 insertions, 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);