From patchwork Tue Nov 26 14:28:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 180210 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp4717010ilf; Tue, 26 Nov 2019 06:34:44 -0800 (PST) X-Google-Smtp-Source: APXvYqz5BObfIlWYaU02SQVhLk/kZOAzJmv7uFItzlJoSRo8PjLNjo3Z4bsiJsK4w+Um4Cxz8GGZ X-Received: by 2002:adf:9185:: with SMTP id 5mr38766746wri.389.1574778884387; Tue, 26 Nov 2019 06:34:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574778884; cv=none; d=google.com; s=arc-20160816; b=wZ10gniD7yx1YZilamhIxF0epcBUCcG/dbN6Pd18Jm2nJBwq771pRXCKbLoDqUie/2 jnXgBSnYXmyTS0KTpR0CwNa9W2U4r6YoATgrMBFoxPl6Qe5MobzTP0I0JrW6JOe9svVZ b1QYUjTWwCTEvAvz6VAb5zdYzbQb0dAD11XklAC7tSn7oCRzAxDl3B1OibhyIdwfA3cX pFRiGQIoozIahNoGyOurfs/TLV3+NyCKEciTqVVFC8Z6P/E+D8gUurlp2yaJS0R7VlFD wRGTnfCTOcWSghCxqY+MeckMt+B8moF3xKCN7Bcz+yLg+dBM7izaIdP823pzUZk4X4+e Kt6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=8qFLGOhjnBnwY39vkfSRiVWBPH1dmuW19VMY4dEDoEM=; b=XZmXS9TFtgEsl4Wkv43TCf7Is1arSe1wM7cXZvBSqRxHFKJs505BYODmYvv6whimTB Qq9OKfP9m5X3xhBYXqZPe+V40VggiP8uvWZwg8ilsgevpVGmMbOR0IabrrehCiIwECwD Ha8zIBefEPlqTWu0tk6rf00Gpbucofy+p2He8BAOMX/FzzYZ3S2IttewIjathwoJBs90 F9j7ZE7qQfMZ8yOv3teetsIWSx5BaR8xqyh+VOdK4TC8WtrGpuRYGbTKJin+UXoVuOYN 0CYQxDYA0MD5ZMN3+lqi3In5gwsm3F98lQWFafjIFUJyAaDHNTL6GnyNU8QjiQuksV27 DwfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=VoGsL2Jh; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id j13si9403356wrt.107.2019.11.26.06.34.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 06:34:44 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=VoGsL2Jh; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 92D46175F; Tue, 26 Nov 2019 15:33:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 92D46175F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1574778883; bh=w6dLTem889vRRCGo/BGrN7xlG8WjjCzdBjzI8c2zboo=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VoGsL2Jha6h2d+vfeLzq3KiE47yGGJqAGw5wWt0OMr0c3A4QkDSJjlAlOf3ZdM3P9 lO2xXwTtj1TIL9OfrLxlCkoh7cDas5iKtHSZysHt4o4583cAUIvP5R7t3qrYDDge1m qTjW/f/sI9RBUNX4+bT32KpQ1Y5qmjTM0alN2XXs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 934D9F8025E; Tue, 26 Nov 2019 15:28:56 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 09B13F8021E; Tue, 26 Nov 2019 15:28:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE, SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9B591F8020C for ; Tue, 26 Nov 2019 15:28:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9B591F8020C X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2019 06:28:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,246,1571727600"; d="scan'208";a="206473488" Received: from vramali2-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.amr.corp.intel.com) ([10.251.155.193]) by fmsmga008.fm.intel.com with ESMTP; 26 Nov 2019 06:28:34 -0800 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Date: Tue, 26 Nov 2019 08:28:14 -0600 Message-Id: <20191126142815.21856-10-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191126142815.21856-1-pierre-louis.bossart@linux.intel.com> References: <20191126142815.21856-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Cc: tiwai@suse.de, broonie@kernel.org, Daniel Baluta , Ranjani Sridharan , Pierre-Louis Bossart Subject: [alsa-devel] [PATCH 09/10] ASoC: SOF: Remove unused drv_name in sof_pdata X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Daniel Baluta This field is only set but never used. Let's remove it to make code cleaner. Signed-off-by: Daniel Baluta Signed-off-by: Ranjani Sridharan Signed-off-by: Pierre-Louis Bossart --- include/sound/sof.h | 1 - sound/soc/sof/nocodec.c | 2 -- 2 files changed, 3 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/sound/sof.h b/include/sound/sof.h index 98a757d3a67d..96625355aa94 100644 --- a/include/sound/sof.h +++ b/include/sound/sof.h @@ -22,7 +22,6 @@ struct snd_sof_dsp_ops; */ struct snd_sof_pdata { const struct firmware *fw; - const char *drv_name; const char *name; const char *platform; diff --git a/sound/soc/sof/nocodec.c b/sound/soc/sof/nocodec.c index 0a2167f19f25..56d887545da3 100644 --- a/sound/soc/sof/nocodec.c +++ b/sound/soc/sof/nocodec.c @@ -74,8 +74,6 @@ int sof_nocodec_setup(struct device *dev, if (!mach) return -EINVAL; - sof_pdata->drv_name = "sof-nocodec"; - mach->drv_name = "sof-nocodec"; sof_pdata->tplg_filename = desc->nocodec_tplg_filename;