Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1480588pxf; Fri, 12 Mar 2021 10:25:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMtjHULf8Q1+fpQpKfeDEG0ZXgAZtGKln35Ix83AwQsyS0Y7CQNdZom3jxuvIxCF4xRMnn X-Received: by 2002:a50:ec81:: with SMTP id e1mr15649969edr.0.1615573541626; Fri, 12 Mar 2021 10:25:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615573541; cv=none; d=google.com; s=arc-20160816; b=GRfIrPNm0cQ1YDeHAKgu/tYQwGIwIWm0ozBadzJdQsKtEbU/wfxeoMepC0bj6XKVPt alXoezPP/PN86LpSPmK9BKSIeVQcW3D0OzfevQPj2SnqfyeKthTGK0Rhosx4BUuHgXo+ fRe5DAVRTGhGX+h30HqDM7+VpmNYq0BVA6sNpRnxTrmkEh3mZdXI7heRy5SD42hP+8KK 16xc0r6zK1CFpHswwjSdsBaHE5CJ+7uzq9JOSRL3WiVk5K+0EfXOnaj5PdCq7OD+erBk lgZUd8gFp8MFD86huHkPhyjRr4zUXIGMEPyta6VS1kPe+M2qfro+vxmD65jo6QIj3BgV 3k+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=E7U+U48lGAWXB461OD36+e3GaZ6FHOmFkpc0Kd1vbxA=; b=S+OlcPJFTDgc1WLusP45MHau2NypqfM/UiGx4smnTysjN0m4YBOhUq+cmc/sOVAfp+ lJ0PioeDvfqC15OJT1BF4kqD5sb/Cts0/Yn6GCyapjr1e0R/M43r1yB8Pa0viay9Znhh wP4k4cRn0nEVydoEewT+h+l/itH4HpJpW0/av57qzxSchxG/cXG2WKciRTINjhmHKVoy GLVBGS3MGjIi+/UfwRu18sXXc7phHK1rNGTdhJ9WTbMkvpthcEbsMEIcKlPjXpcU8RU9 rkRtYk/P+sz4HeS1F9LYaj80ucgWzHlDcyZxSjdcfWSYk+ryPgNwkygu8b3nFILWoEn1 3ibw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si4433194ejx.201.2021.03.12.10.25.18; Fri, 12 Mar 2021 10:25:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233348AbhCLSYW (ORCPT + 99 others); Fri, 12 Mar 2021 13:24:22 -0500 Received: from mga07.intel.com ([134.134.136.100]:4236 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233258AbhCLSXs (ORCPT ); Fri, 12 Mar 2021 13:23:48 -0500 IronPort-SDR: GSuNljBHpDzI5U1WjAAdBUGm5HWBb5/13+3D4DewZx7oLblJJCTAbXjRv3NJ6YeeRT6z3BBv+k ZenHMk1kGwjg== X-IronPort-AV: E=McAfee;i="6000,8403,9921"; a="252888943" X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="252888943" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:48 -0800 IronPort-SDR: jVhDZNM4RYTZdGGQjrKfNLLoVRCL8lSQOE2XbcEPGMv6TgIV53VG1rZd6d3Fnj9tqITuLrOVIf a+CZvjMRNRyw== X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="377792054" Received: from amiteshs-mobl.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.37.30]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:47 -0800 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Philipp Zabel Subject: [PATCH 18/23] ASoC: sti-sas: remove unused struct members Date: Fri, 12 Mar 2021 12:22:41 -0600 Message-Id: <20210312182246.5153-19-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210312182246.5153-1-pierre-louis.bossart@linux.intel.com> References: <20210312182246.5153-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cppcheck warnings: sound/soc/codecs/sti-sas.c:54:25: style: struct member 'sti_dac_audio::field' is never used. [unusedStructMember] struct regmap_field **field; ^ sound/soc/codecs/sti-sas.c:55:24: style: struct member 'sti_dac_audio::rst' is never used. [unusedStructMember] struct reset_control *rst; ^ sound/soc/codecs/sti-sas.c:61:25: style: struct member 'sti_spdif_audio::field' is never used. [unusedStructMember] struct regmap_field **field; ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/sti-sas.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/codecs/sti-sas.c b/sound/soc/codecs/sti-sas.c index ec9933b054ad..ffdf7e559515 100644 --- a/sound/soc/codecs/sti-sas.c +++ b/sound/soc/codecs/sti-sas.c @@ -51,14 +51,11 @@ static const struct reg_default stih407_sas_reg_defaults[] = { struct sti_dac_audio { struct regmap *regmap; struct regmap *virt_regmap; - struct regmap_field **field; - struct reset_control *rst; int mclk; }; struct sti_spdif_audio { struct regmap *regmap; - struct regmap_field **field; int mclk; }; -- 2.25.1