From patchwork Tue Aug 7 11:58:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10558639 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF6AA14E5 for ; Tue, 7 Aug 2018 12:08:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACA882948C for ; Tue, 7 Aug 2018 12:08:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A04A629430; Tue, 7 Aug 2018 12:08:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B54E29430 for ; Tue, 7 Aug 2018 12:08:43 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E3B7C26789F; Tue, 7 Aug 2018 14:08:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3E96026789F; Tue, 7 Aug 2018 14:08:39 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by alsa0.perex.cz (Postfix) with ESMTP id 81EF2267865 for ; Tue, 7 Aug 2018 14:08:36 +0200 (CEST) Received: from localhost.localdomain (unknown [122.167.122.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 752DF217B7; Tue, 7 Aug 2018 11:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533643161; bh=tttkSiXlJPHBBZHbX/iDbBBhNQYynA9gX9wg0eAvgYE=; h=From:To:Cc:Subject:Date:From; b=rI0TMPjs2vXTfrEJYxXUsn4hXeqUAw3TlfYnHZtoJ6oI347V3iSTeMUMjCltm2IP3 wwzqGja0WQA8kghST/EBw0Txba2Pi8iF9N0CuvX9S/iVPUXe2arCk4OTJY0pO9wGAD DZ/PxtpxZc7mmkM4I8k4chbGQK9PQFw8h0P8O7y8= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Tue, 7 Aug 2018 17:28:37 +0530 Message-Id: <20180807115837.8172-1-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 Cc: Vinod Koul , Sanyog Kale , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH] soundwire: intel: Remove duplicate assignment X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Shreyas NC Signed-off-by: Shreyas NC Signed-off-by: Vinod Koul Acked-by: Pierre-Louis Bossart --- 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);