Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp73916imw; Mon, 4 Jul 2022 05:32:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1txf9Vbs+3W+zowZQ0mJgTwGOdon6W/ntstYqfhK3Frk1zhdkZQdh4A5LCtc5RaVSW6/Myu X-Received: by 2002:a05:6402:2788:b0:435:d40e:c660 with SMTP id b8-20020a056402278800b00435d40ec660mr38385291ede.424.1656937929461; Mon, 04 Jul 2022 05:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656937929; cv=none; d=google.com; s=arc-20160816; b=PIN5+BYDaQhRsEeaAzzqWTSfwrJ/unLg3Nq9ZWp7RKcRikJecLXx7W5T7GUKdwXC0N DdwbQTts7oBhV8DZ3y7cw8zhE9WzfLk/jqEBjJY5ORi6EAqQBFYkhBqxRG0e5ZFPDIgi 3OZvHBbY3Cin1cPDnashygS1Rljje7WHeNcg54gdDcAj8yUU+uRuK0sgwGTyB3u+ge4I jREhl+ylQ7jkaKKEWQd+39Sk0vvKHtFOB0Exh3vseFAzDJ+jC6P2EeQu+iTxtAe4bFFW gq1fsD1WVauyi+uVYQWG22+yiMQ+tOA7vIkNzosu1Ve2jPzqn6cBjXhZtAJsGFEwyR+u KD+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=qv6D7iKxr+zbBMXioHD7kr/xe7z33Livi6hgTVcHD2I=; b=zHt+8tNzHZKtAQuuQDFvKVwPYQeMUeebOMLb7wQNH6mYOYnimE2byqKFdzndjpsEKH eVCknEzsLOUYeh2RXumKDanUOCq7tU3oWOCF4+80l+LhRQgicYiM0GHr1iNVi35vOt6c ihwNlX2w/oRkxk0KYbU0JuRnXLNQYbagOeM57+vVZ0ent4EwA5ZMyjoB5yLT6K5c5N1i WwGa7e6yYYDQqWBoaMEZmsapA2XAf9JB2Gfw5nW193xFORL9cFWHU/IzIikvbLMVuoNZ f2kmiusq3RbTShuBUwGAmSWpDAUAk0pzc6VPZJuc7+IQjWlNo346eg0Hi4R7osQW5MGR UEtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kYtuwJzR; dkim=neutral (no key) header.i=@suse.de; 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 i18-20020a170906699200b006ff149c2b6asi16853339ejr.588.2022.07.04.05.31.42; Mon, 04 Jul 2022 05:32:09 -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=kYtuwJzR; dkim=neutral (no key) header.i=@suse.de; 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 S233451AbiGDMaV (ORCPT + 99 others); Mon, 4 Jul 2022 08:30:21 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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