Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1480283pxf; Fri, 12 Mar 2021 10:25:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6Jcb4OoIN7lPE2bLPUu1J/wRkK4mTKJkpZlySAtGWOs7+1+2dSenPMZ2wLoRJZnjYcRZ6 X-Received: by 2002:aa7:c850:: with SMTP id g16mr15588625edt.324.1615573510262; Fri, 12 Mar 2021 10:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615573510; cv=none; d=google.com; s=arc-20160816; b=gLHdH664O7U5kbsIZYZnVkYyh2uiPmKK50cRhGHS+7RDgelUJ8V4xuffORk13RemiW Rlj24jaZ3nq8I1hYszUkH/C1ewqoQTx38vKEIn2Xw282JWa287dtC114lwFDC001aCbK s+3pXFGg37Rmwd4CHaQcqJp8JQyE1s+nmjUdQqoPAAUSwK08kzlAOFqqOhslIfHKkOAL MBdA2+wiwVoPu+rhqxkDJ1CRT8JdMTrBhqlGS0LqdxWhbD/Rv26VLjy9GJ/FmouIxKqX rDEcrwpRoaxS0ZbI5TluuWh9D28AZx9DRAWI85P/NYM0XpyQ77bDJgbm05S50oyrevqB m86A== 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=r7cH52y9HC6KHotk2qQDXiCFVKEfWHEB4l/yMkyIBM4=; b=Bmu+2OW/jKA8A1t7vDZRPTCf6FkW+1j63kSf44Kvgg2Idozs0p3xtxF+8Q/xH8GElh QI/h/QcBgbGDs/akG8Oe/s9/t8OpPnl5+ZF/clQVUtIrG2Q78h54n/JKeUogyHwDxnkk CwNmg0D243rv+77LTJ6QFcjM2cnOijVhxe0pVz1k59j//FQ3ifMNCcZUyn7PTbu76fSu 7U8dz3CvVArFXWZ1sZQ++gpufcth1DTLqmXcURMPs0sH+nSKnzNfvtD0tgCsKiyh29qA gE7qG0y9wq5YwPsW9mCwal+uu53p+jQ3Uh36Ak5AJ4esckO42aycvsr8m2+TrYHR+if+ C8Pg== 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 b16si4644080eds.502.2021.03.12.10.24.47; Fri, 12 Mar 2021 10:25:10 -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 S233411AbhCLSX6 (ORCPT + 99 others); Fri, 12 Mar 2021 13:23:58 -0500 Received: from mga02.intel.com ([134.134.136.20]:36942 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233235AbhCLSX1 (ORCPT ); Fri, 12 Mar 2021 13:23:27 -0500 IronPort-SDR: la2V5iY4/RpCRn6sMAyra8hpE9/9SLiwWdBu+bXGdldV++IqefP4J8PmC8D6NxVnCMfE9aYtb7 mmqyVORC8Lrw== X-IronPort-AV: E=McAfee;i="6000,8403,9921"; a="175999127" X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="175999127" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:27 -0800 IronPort-SDR: TXOqmeBFIU4oAz+oS82bU5HQyoIkqGNqVNDIJJGg5BnhEiPKFnayr2Sf6/dWLKFKZE1krO+Qlv SVY0i+l1JzuQ== X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="377791964" 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:25 -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 , Cheng-Yi Chiang , Kuninori Morimoto , Peter Ujfalusi , Shengjiu Wang , Stephan Gerhold Subject: [PATCH 11/23] ASoC: hdmi-codec: remove unused spk_mask member Date: Fri, 12 Mar 2021 12:22:34 -0600 Message-Id: <20210312182246.5153-12-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 fix cppcheck warning: sound/soc/codecs/hdmi-codec.c:25:16: style: struct member 'hdmi_codec_channel_map_table::spk_mask' is never used. [unusedStructMember] unsigned long spk_mask; /* speaker position bit mask */ ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/hdmi-codec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index 83e74ddccf59..1567ba196ab9 100644 --- a/sound/soc/codecs/hdmi-codec.c +++ b/sound/soc/codecs/hdmi-codec.c @@ -22,7 +22,6 @@ struct hdmi_codec_channel_map_table { unsigned char map; /* ALSA API channel map position */ - unsigned long spk_mask; /* speaker position bit mask */ }; /* -- 2.25.1