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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C014C433EF for ; Mon, 4 Jul 2022 12:30:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbiGDMaW (ORCPT ); Mon, 4 Jul 2022 08:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231339AbiGDMaU (ORCPT ); Mon, 4 Jul 2022 08:30:20 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5CFAF; Mon, 4 Jul 2022 05:30:18 -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-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 Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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