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 64563C433EF for ; Mon, 4 Jul 2022 12:31:16 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 714C21718; Mon, 4 Jul 2022 14:30:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 714C21718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1656937874; bh=GsuReglI98e6jclIlkRRBDo/b+z2nnDuHC2ygACT0j8=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BlnJvP0d68zORHK43Xtn1BVmxf5MK/VBHEo+SkojUWLpqaM/4tziO7FKm/tIL8NXy QNo4KjqCZfoCvBeSsFxu5+wSPOoidzDfvQgDNeKt1nVieAPtBadc9AXaHuACNHv7+h LdzFdHCUzf8RiuKbEd02pTrSj9F6ejAdFXRl2/wo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1B79CF8014E; Mon, 4 Jul 2022 14:30:24 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98486F80165; Mon, 4 Jul 2022 14:30:22 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2030AF802BE for ; Mon, 4 Jul 2022 14:30:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2030AF802BE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="kYtuwJzR"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="p7fqaF/G" 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-out2.suse.de (Postfix) with ESMTPS id 9C7F61FA15; Mon, 4 Jul 2022 12:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1656937817; 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=qv6D7iKxr+zbBMXioHD7kr/xe7z33Livi6hgTVcHD2I=; b=kYtuwJzRz5LFRo4d4yuZp5TX3iJBZx0ZrtyPoZTNpADdAvj+TS5Zrwhi3j2hy4BBlXUUfw HmYDQwT77EgChqyAoPelajKaO8NHfyoOm57nWOg1SmqlW/eGdNnj/kCenMiiZYevD8tVkA pRK0BeDAaH82vk157bJ33hgqxRLmX20= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1656937817; 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=qv6D7iKxr+zbBMXioHD7kr/xe7z33Livi6hgTVcHD2I=; b=p7fqaF/GmSu3xqbxe4UPgcJte+rI/lbZ83N716Je0Lb/WFpWMk3LKMpmc1UyU7YdkZAJL3 JYi5z+dJ8SrrbXCw== 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 787031342C; Mon, 4 Jul 2022 12:30:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kJasHFndwmIKLQAAMHmgww (envelope-from ); Mon, 04 Jul 2022 12:30:17 +0000 Date: Mon, 04 Jul 2022 14:30:17 +0200 Message-ID: <8735fhys9y.wl-tiwai@suse.de> From: Takashi Iwai To: Colin Ian King Subject: Re: [PATCH] ALSA: wavefront: remove redundant assignment to pointer end In-Reply-To: <20220629102744.139673-1-colin.i.king@gmail.com> References: <20220629102744.139673-1-colin.i.king@gmail.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 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 29 Jun 2022 12:27:43 +0200, Colin Ian King wrote: > > Pointer end is being re-assigned the same value as it was initialized > with in the previous statement. The re-assignment is redundant and > can be removed. > > Cleans up clang scan-build warning: > sound/isa/wavefront/wavefront_synth.c:582:17: warning: Value stored > to 'end' during its initialization is never read > > Signed-off-by: Colin Ian King Thanks, applied now. Takashi