diff mbox series

soundwire: intel: Remove duplicate assignment

Message ID 20180807115837.8172-1-vkoul@kernel.org (mailing list archive)
State New, archived
Headers show
Series soundwire: intel: Remove duplicate assignment | expand

Commit Message

Vinod Koul Aug. 7, 2018, 11:58 a.m. UTC
From: Shreyas NC <shreyas.nc@intel.com>

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

Comments

Pierre-Louis Bossart Aug. 7, 2018, 2:22 p.m. UTC | #1
On 8/7/18 6:58 AM, Vinod Koul wrote:
> From: Shreyas NC <shreyas.nc@intel.com>
> 
> Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

> ---
>   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);
>
diff mbox series

Patch

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);