Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2944282rdb; Tue, 13 Feb 2024 01:55:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVXURKFlX2dSjGPuE4LcO6/Yzj4a7hjuu9XjGXekcDvcyg8D3K7hi3IabXq/IBE3YsAw1pNbNMY05boPbgA4JRLNOC5TEFzXkXCXa9TZw== X-Google-Smtp-Source: AGHT+IHoYi/N1M7KzrRmiFcuR+1oxPDzk5im5v9o5MzxJTDaNsZU16whiiLjVc77BqaqXE0W4/uP X-Received: by 2002:a17:907:9809:b0:a38:8c12:9c3a with SMTP id ji9-20020a170907980900b00a388c129c3amr2194871ejc.11.1707818132414; Tue, 13 Feb 2024 01:55:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707818132; cv=pass; d=google.com; s=arc-20160816; b=jQh3bxPqLWaxMxnz18UaMv2wr+WYD+ZlrOug0RMncWmAw4ie5W+nUhI1pCWqyiwds+ xQHjw9zzgnN1SYeCddm8691RTOXc1lQc3LxPSYhu0SnV+Ec81vzGe5BlUM5CoYVgrGb/ zbyyj1djZv/hchOqdVJhbgrqMNkDHak0C7HudbqP5Te8fFyQCW9EPak6oVkxmneYUMDn D2417gykXRmViuePBnYl8bQyVBZt6MCQHW8YStL5g5BL1i8Kz0purMocTA1Ll7oGkDEI M2FHT8QFpkKi7Rdzl1nOMwNslU6pxu5aNoLKebz0QZr+MrytUlzTdC9uj+k4Np9kjXqQ 0qrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=PcMZqR2NRqX+licxG9FzjQpZupdzzxNLWkbjl0ygEpU=; fh=Ine5S0sfhQYiVk04jrnrCDskEcMfouZOuXsnbyF6vXM=; b=oLOGanH1ZZorGfOB/mTETqrMNLVVbf4U2vwxESKtVSFSUqEMGkq5/a9nTTzyA6iQYm kQBOCUAxohgm4OLXXaD2FAAz7OJu1ZmBHVe5XuwmCGbZETq2iMknvFC1hpwKfhSvs51E FztU28rGyMSj43psAeS45sGuS1manih0MNVi0teU66+FDhZbV9LRzBnEW/F0u7Nk6O6a f/PHKUYeqMLNM4Ww25MM/LB+E3BNO+zr1PvdTAlXlI8Je/MLuE16qj7OFeOA3OTpdmWb IftXHf4h2UCDDJn0Zfep3c6X6YZVX/vVtUGpcYUqgMybK0Pt7aQdHxIzWrcTrqZ1iI3K 8Kog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qvacZi9X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXIv7Vc/n2sO+p6siXSBzSSSELCauiyMo4BfR9R582dPMnHh230U66GDJCDFT2cavPxfgJcdLUDJw7CqOn3r22z2Amlmk/3w34YQpMbKw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n12-20020a170906724c00b00a3c2f78c2b3si1102579ejk.750.2024.02.13.01.55.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 01:55:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qvacZi9X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EE6C91F26A28 for ; Tue, 13 Feb 2024 09:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD24C2374D; Tue, 13 Feb 2024 09:53:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qvacZi9X" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C1CE2231C; Tue, 13 Feb 2024 09:53:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707818023; cv=none; b=LA50fFqk7I6tl7AJAvrOeUvT/ycrAJj6Fw4s97pqaDNSBV2AUcl+9uUDofz0zjvz9LQhFGxJmEubgz5z67gDAQI7DKws5c902fG7wB0Vx7sVrkEw5jpyi2RX2jR7kaA5gaHKjnraFuOTjTNkhFHftb0EaZgg2kUb1ulpXdvZ+nI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707818023; c=relaxed/simple; bh=bFI73x+EDujHXYYrJUlTZT0kXjJSqN26v00ObvOwDkM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AnDzGfxffz0Upj5WFoPDT2W/+LEoMm1X/xK0x0uijkCZWFwygznIB8QzXL+gsP0hvDBaGHnBhRo1YMIV9eQBci7Zc7NdVOUSrde/ytbQMcljUOe5V90v+Xhlo6tFRGY/KjFdNes1P0AP+aWoALX5DX2dnqzz00YvvfjaySKDxx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qvacZi9X; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 231E7C433F1; Tue, 13 Feb 2024 09:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707818022; bh=bFI73x+EDujHXYYrJUlTZT0kXjJSqN26v00ObvOwDkM=; h=From:To:Cc:Subject:Date:From; b=qvacZi9X7b6BKTUHvmK2DIdtUCZLPSLSuXmyZJDWMuK7DW7vHAcMnQzPNXgmW/ZaA fZeZMJtwINqnID9p76XEJUJ12OhQypiyt561d2sbP6AB5ea/Bf7bNwc3YeV84OtgIq GSArVzcFw/7orSOeOHlJ4QrSQ84N272ruNllkqiNLF4+rk1BsRTdkW9llJ8S2oZemg QgGIyY8uFtpMi9Gb/uT9F/GMIea/rHho1nfYe6nUHlTo3GNFOmhBd3RZ32noCiM3ca YfHYMo56XDBoTd9tulHp1evA1FxGYKOQfUOjJ+BzKosCcya2LbrY2VoX+JE+DqxkVf x3TyrB3ELGUcw== From: Arnd Bergmann To: Jaroslav Kysela , Takashi Iwai Cc: Arnd Bergmann , Russell King , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH] ALSA: arm: remove an unused variable Date: Tue, 13 Feb 2024 10:53:18 +0100 Message-Id: <20240213095336.453562-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann The only user of a variable got removed a while ago, but I only now ran into this on randconfig builds with clang: sound/arm/aaci.c:742:15: error: unused variable 'aaci' [-Werror,-Wunused-variable] 742 | struct aaci *aaci = card->private_data; Remove the unnecessary variable. Fixes: 793e0fca25fa ("ALSA: arm: Remove superfluous snd_pcm_suspend*() calls") Signed-off-by: Arnd Bergmann --- sound/arm/aaci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index f64896564728..c3340b8ff3da 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@ -739,7 +739,6 @@ static const struct snd_pcm_ops aaci_capture_ops = { */ static int aaci_do_suspend(struct snd_card *card) { - struct aaci *aaci = card->private_data; snd_power_change_state(card, SNDRV_CTL_POWER_D3cold); return 0; } -- 2.39.2