Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp850001pxb; Wed, 6 Apr 2022 01:54:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwngqt2bVNy89md6Zl9urL+IRLfVYVbt125Ou3XH1ods4OE/3j4TLVUG9of2Js0Fnt5ZYgW X-Received: by 2002:a17:903:1105:b0:156:3e9d:bb7b with SMTP id n5-20020a170903110500b001563e9dbb7bmr7443718plh.136.1649235241376; Wed, 06 Apr 2022 01:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649235241; cv=none; d=google.com; s=arc-20160816; b=c9gGuqIENxoTpvb5ftaJDv0EqJ9Q4BqyXs9/LPCtXccFl6MBBq8WKmsgPGbdGbyF2p +AL8lFs6b8gFTOHYqS4DxEzZjtNZkzgQ73XHMXu7tVWZUtwA5DTK8N6mh6rVX3tHr8LZ 0lPjOE73Iqkl3WYhBrDrZYTcNorvORiAs+lLyu0i1h3e7AIoDE7eXXQmosNGI8HnGEr3 ZJRYwlfdsECkUnu0o5VQYBVOv2E6Yesv/vkOPaGnJP7Z6W4MibdRDUnzD5juaZ2zjplK Z27z+rbgq+8MgOZ+1314i+YcMf4t9eQU6K+zGgwNwqLjeqgH2/OGo9QTMb8soa3K/I17 /UkQ== 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=IaeKt7hV7UqwigSIbp40W1LQkurWXOIlKnY07ODu6m0=; b=MnsDpkx64ASmvvcSpgUOQI7KNO6JxY2afG3Q06GErTuII5R2+UwsuKxuR8zW9POf7X zzcTKONZmRV1ngYNOy8X7Nh4LQqcDoZqqH1z0huKSYRO7Pf6Q5zXbt2LtiW5X/Y3DVp/ UFN06xbJo8FRWONCYNQluvguv8+nZ+i/kfZxjCs6sUcQKLIn85HirlsEXimhB9LHH395 Qc3yAB4EdcPWkA2Wiee/QwhTPsqT2J6FfYxqp/2dcw0EINx4HZarlHoK6k4QitY8uX7O 4fSPq3y/w6N/PXDJFUlbKvwU9Pjnr5NTQTCgOJouae2x0kp4K2tlYCzfu+slc/lbyCIJ 1EMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=R4n65WDv; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 67-20020a630846000000b003816043ee71si16829275pgi.102.2022.04.06.01.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:54:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=R4n65WDv; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C910D4B1D3C; Wed, 6 Apr 2022 01:39:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1457877AbiDFBRY (ORCPT + 99 others); Tue, 5 Apr 2022 21:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457632AbiDEQWh (ORCPT ); Tue, 5 Apr 2022 12:22:37 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FE8C5D676; Tue, 5 Apr 2022 09:20:37 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id DCBFE1F38D; Tue, 5 Apr 2022 16:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1649175635; 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=IaeKt7hV7UqwigSIbp40W1LQkurWXOIlKnY07ODu6m0=; b=R4n65WDvnTHDlv1h8WsdQcxcF+ycmmkc9KiVy5PgkRKBndkJGYAK8pZPGu0b65mFIB78y9 gXzP6TUGH0n0P9TsMcXV4XFD6U6VJXOAP+Vk6fKuKb/Mu1oIV0apBbFOxmoBCCX2gglF/B ZNIn0UXFUpN2LHOjzp4nWaNiW8dqrsw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1649175635; 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=IaeKt7hV7UqwigSIbp40W1LQkurWXOIlKnY07ODu6m0=; b=JuSbKRdEVmd3C3fVNg6/P94AXqhC70FYDi15WnxwsYcWNX181kZCN6aAG2jZJ8HlUJWuIV a+15WpjRFs+L94Cg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id C7A22A3B88; Tue, 5 Apr 2022 16:20:35 +0000 (UTC) Date: Tue, 05 Apr 2022 18:20:35 +0200 Message-ID: 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: echoaudio: remove redundant assignment to variable i In-Reply-To: <20220405135412.199251-1-colin.i.king@gmail.com> References: <20220405135412.199251-1-colin.i.king@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, 05 Apr 2022 15:54:12 +0200, Colin Ian King wrote: > > The variable i is being assigned a value that is never read, it > is being re-assigned in the following for-loop. The assignment is > redundant and can be removed. > > Signed-off-by: Colin Ian King Thanks, applied. Takashi