From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE33EC6FD18 for ; Wed, 29 Mar 2023 12:43:01 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8D32B1F3; Wed, 29 Mar 2023 14:42:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8D32B1F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1680093778; bh=x4S+BJepRgqwh/sDUI74eKz16sUTKI40TuYwjbXRABs=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=cNIQG65MlY1xMU1DOwykPFUSJjrKJScflimv+1rksD2GT6noOW2JOk3yJJrFIgfhf 1PSEytIhfIrP0EHiD2IgKVEeIUVUWlY2d6SO6v6hwrV81ecbbVRXi0hd0p8kFejz6J kfDp3DTeWLOnFQC51GCgLHspsw5cHGqhqfD2SgV0= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 30C4CF80272; Wed, 29 Mar 2023 14:41:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 94B26F80272; Wed, 29 Mar 2023 14:41:38 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 74FD6F80249 for ; Wed, 29 Mar 2023 14:41:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 74FD6F80249 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=EZiuqAq7; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=R0mh9Dvp Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3ECB1219D6; Wed, 29 Mar 2023 12:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1680093691; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=526ThITHJeu3eiDm9DxekU/Uxvd0iGFqccGQ3I/p5lM=; b=EZiuqAq7JW9frz4gWRxVSWTZ+OAbZ88JA4rws1K+2JgAcKWyHFGA6wrc83muF+BwBjM3HB fzDWoPVnUx2xiwnbczE8EkIQF1wE7++cUhbnUc4/4cIKy8n/kRWH8LKdETKqyr4TSRO9tf BR8poguflEx7AqnPWa6nioV9zQVvbrs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1680093691; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=526ThITHJeu3eiDm9DxekU/Uxvd0iGFqccGQ3I/p5lM=; b=R0mh9Dvp3kPTjoh9nm0cKRcznQdHuQCRb4KaUUgE8DKlmD4qmW9u8Ex9hDzpqfAHV32n8z RikYOxH88E0ciHCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 11944139D3; Wed, 29 Mar 2023 12:41:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id RJxNA/sxJGTSdgAAMHmgww (envelope-from ); Wed, 29 Mar 2023 12:41:31 +0000 Date: Wed, 29 Mar 2023 14:41:30 +0200 Message-ID: <87tty3ohl1.wl-tiwai@suse.de> From: Takashi Iwai To: Tom Rix Subject: Re: [PATCH] ALSA: remove unused loop_count variable In-Reply-To: <20230326205712.1358918-1-trix@redhat.com> References: <20230326205712.1358918-1-trix@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: HRZ43V3RGVISMG7WBQFMNDPTZXBGWJ2A X-Message-ID-Hash: HRZ43V3RGVISMG7WBQFMNDPTZXBGWJ2A X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tiwai@suse.com, nathan@kernel.org, ndesaulniers@google.com, wangjianli@cdjrlc.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, 26 Mar 2023 22:57:12 +0200, Tom Rix wrote: > > clang with W=1 reports > sound/pci/asihpi/hpi6000.c:1256:6: error: variable > 'loop_count' set but not used [-Werror,-Wunused-but-set-variable] > u32 loop_count = 0; > ^ > This variable is not used so remove it. > > Signed-off-by: Tom Rix Applied, thanks. Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CB99187C for ; Wed, 29 Mar 2023 12:41:32 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3ECB1219D6; Wed, 29 Mar 2023 12:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1680093691; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=526ThITHJeu3eiDm9DxekU/Uxvd0iGFqccGQ3I/p5lM=; b=EZiuqAq7JW9frz4gWRxVSWTZ+OAbZ88JA4rws1K+2JgAcKWyHFGA6wrc83muF+BwBjM3HB fzDWoPVnUx2xiwnbczE8EkIQF1wE7++cUhbnUc4/4cIKy8n/kRWH8LKdETKqyr4TSRO9tf BR8poguflEx7AqnPWa6nioV9zQVvbrs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1680093691; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=526ThITHJeu3eiDm9DxekU/Uxvd0iGFqccGQ3I/p5lM=; b=R0mh9Dvp3kPTjoh9nm0cKRcznQdHuQCRb4KaUUgE8DKlmD4qmW9u8Ex9hDzpqfAHV32n8z RikYOxH88E0ciHCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 11944139D3; Wed, 29 Mar 2023 12:41:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id RJxNA/sxJGTSdgAAMHmgww (envelope-from ); Wed, 29 Mar 2023 12:41:31 +0000 Date: Wed, 29 Mar 2023 14:41:30 +0200 Message-ID: <87tty3ohl1.wl-tiwai@suse.de> From: Takashi Iwai To: Tom Rix Cc: perex@perex.cz, tiwai@suse.com, nathan@kernel.org, ndesaulniers@google.com, wangjianli@cdjrlc.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] ALSA: remove unused loop_count variable In-Reply-To: <20230326205712.1358918-1-trix@redhat.com> References: <20230326205712.1358918-1-trix@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII On Sun, 26 Mar 2023 22:57:12 +0200, Tom Rix wrote: > > clang with W=1 reports > sound/pci/asihpi/hpi6000.c:1256:6: error: variable > 'loop_count' set but not used [-Werror,-Wunused-but-set-variable] > u32 loop_count = 0; > ^ > This variable is not used so remove it. > > Signed-off-by: Tom Rix Applied, thanks. Takashi