soundwire: intel: Remove duplicate assignment
authorShreyas NC <shreyas.nc@intel.com>
Tue, 7 Aug 2018 11:56:00 +0000 (17:26 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Aug 2018 04:19:48 +0000 (09:49 +0530)
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>
drivers/soundwire/intel.c

index da7f91f..c5ee97e 100644 (file)
@@ -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);