Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp556187rwl; Wed, 29 Mar 2023 05:47:16 -0700 (PDT) X-Google-Smtp-Source: AKy350bF9K57VztyySeJuKMnjpxDb1oCg9H9ZMbqOGMBgXvAHkHZDUPkl9kOMuBQ5ahPDJLLERIb X-Received: by 2002:a05:6a20:b705:b0:d6:d41e:87ee with SMTP id fg5-20020a056a20b70500b000d6d41e87eemr1843538pzb.12.1680094036642; Wed, 29 Mar 2023 05:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680094036; cv=none; d=google.com; s=arc-20160816; b=W6F7mjsGONkqcyn4fG+pE/g20IUovKhjkQJrhcZRQsU0pJ7D06hxbhkrsOkWDaO38G Vjv+Oo6eIwHXvjOR7cA3k/NkjKtfsAR+VrWEpQQ8ameVYVGZSD4+qrr1ap7DYgdN8bE5 qfACf4l/prC+XdoiitYLO/c13LtCLL7n3lHcpsxIf5PBlOzT7Gn6boPt8mZ1MgYjZMOU PbjWKNHgoOS8wplCme3UuP9IKqueqM483Nb81lUL/9Jp1rNI6PLNcydjFljuZxNg1Zj2 AmSid9INl3ufqjPCDIAeybmjiTds6FBK45Ju6wZTqAM1v76GK99M/ayc3dX/EQ/7yp4l LV/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=526ThITHJeu3eiDm9DxekU/Uxvd0iGFqccGQ3I/p5lM=; b=gKw3WnPK7BJXvkf8nbjh4iaj8vWRmyotRk/yL/F7XDGBJ/FIl/94r4SYX/J4f12RjQ E7U6wQMGJiph6Arqvoj70JgeUU6nZlGMvtrnK+SuQOFZUgvY2D2UCt7wG33POB//QCr9 Ww8hgs/2dMwRj5S5Cl4LZi9T+RmaTMa+QLleTYtCF6SR0Z1XOCcar7f6mXvB2qgo6S7X rHLZ9zW4pltjrKcb6sDqYaRrNitZ58I2hyI4oonfToPHTHAGdbqKdMnSsyym+VilQJ+u vbJCJT7EjARaJwikZIO3nmA7yHl7RTtojUQsTmJT500jYSCTQQvOBcoxcVCS0TYqmNNv sDGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EZiuqAq7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=R0mh9Dvp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a056a0002a600b00590712dd84bsi30735820pfs.81.2023.03.29.05.47.04; Wed, 29 Mar 2023 05:47:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EZiuqAq7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=R0mh9Dvp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbjC2Mlg (ORCPT + 99 others); Wed, 29 Mar 2023 08:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbjC2Mle (ORCPT ); Wed, 29 Mar 2023 08:41:34 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A6144236 for ; Wed, 29 Mar 2023 05:41:32 -0700 (PDT) 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 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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