Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1737367rwi; Thu, 3 Nov 2022 08:32:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71WtfyvxktY0GoRhnlOwfSncHvrjYZYbcpFT6FTZ7rO02gBfABvePYcYWWv51ffhi+W0NC X-Received: by 2002:a05:6402:1c88:b0:461:94a0:33df with SMTP id cy8-20020a0564021c8800b0046194a033dfmr30737521edb.0.1667489527062; Thu, 03 Nov 2022 08:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667489527; cv=none; d=google.com; s=arc-20160816; b=i1wfjbBFoC3xUR38ElmdZtt2HxkRCkEtHDatwCdpcqApki2TrrdXc45l0TsfJOYNR+ qjarbv40ueBy8I0QwY0CcUgPpJSlBiShu7MLWCf17Ywjq7rVxP09GdnurJOjZRMjHOZI VUwDWwN9shh5X8tAeuYXY437yB9lqvNyHCNLmxrhSmbH60RB7CJHFocCqSjNzVg3jSXA GK7qm++D1RiGThK3KzesklGKAdn5GIN26vLrYISKDZ3RbL5j8W6Ca9oJxv13W/usBUdY 2CH0kgAQwNMoaENZgScPzkpULtdfe6o2/6a2xPq/AKCQIRtLtBd6ddoqgxZAUDbLt2GM PZmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8F9sS8JI7KZk0qFF4ymgHfJ3M97N8Jdr1wohUB3MWPY=; b=c+cSjdkdyjTb81UEa8PoFR27e7k45SBMt4Z4CS3AXRAgHX3wpVprZ4EfkL/D5rGrY0 nDkF2EiZbWEDdX3bwsZhBzEol5sJP6+aB9PZ3xG6QyykEruvgYMCDw1MahIIfC2cnM59 SnpSGex9+oQxCXfsESX9PeJXZxH14kdbRwxeioumLhxaV2h0/AuIcw1QOEA94eoHAHSq K+faEpbXvogNw7cLtLg9hBO8b9/B1mQgHWH74jTePLOkR6ibvYnYDyy/LjLc5Mji0DQF DedFbn9cG54cCiDv/GobEWcyOSm1BfC97g1ETd+UqOWaspPrnI20USWC0EE+5QNHsp4d udEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=RA9UJnn4; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho18-20020a1709070e9200b0078d1faeb619si1863907ejc.777.2022.11.03.08.31.34; Thu, 03 Nov 2022 08:32:07 -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=@8bytes.org header.s=default header.b=RA9UJnn4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231611AbiKCOkN (ORCPT + 97 others); Thu, 3 Nov 2022 10:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiKCOkK (ORCPT ); Thu, 3 Nov 2022 10:40:10 -0400 X-Greylist: delayed 3253 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 03 Nov 2022 07:40:09 PDT Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 87E431580B for ; Thu, 3 Nov 2022 07:40:09 -0700 (PDT) Received: from 8bytes.org (p5b00664c.dip0.t-ipconnect.de [91.0.102.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 25EC3260071; Thu, 3 Nov 2022 15:40:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1667486408; bh=mf7OaYDXqcld8wWiThewtp/HY8K7iFfmoq1U0fGzWYo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RA9UJnn49z7YdSAgp2I3/ITuIe6U3r/qp5fYYYQl9uSVuXJ0oXXKPVvXwFIIP7hof T+soRndeNz7S6wfdPlU1l8xvCdOa8XEe7++RJ45KApiY5K44K7bGxAHVysyURjIEK4 9/ce/q8sba0zIYjDXm5qu044uLR5yFUnQRQr+8VgUJ8ApsSGQ76WZTnUITRlUtD/h4 MG6QOT9yNBG13JSBCvEeIE9bIEpebJzigzTjvFM/PR0/S/7N7jhS5uEYKXQ3SEEtmp Qj+fpFbC7cBGsGVG5+K5aVwPskLhhXc7pj94xXvDhImSYs/NeeY/KH+yKSMwkVkdIQ A0kywvgTobOLA== Date: Thu, 3 Nov 2022 15:40:06 +0100 From: Joerg Roedel To: Colin Ian King Cc: Suravee Suthikulpanit , Will Deacon , Robin Murphy , iommu@lists.linux.dev, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu: remove variable cnt Message-ID: References: <20221024134301.2158939-1-colin.i.king@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024134301.2158939-1-colin.i.king@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Mon, Oct 24, 2022 at 02:43:01PM +0100, Colin Ian King wrote: > Variable cnt is just being incremented and it's never used > anywhere else. The variable and the increment are redundant so > remove it. > > Signed-off-by: Colin Ian King > --- > drivers/iommu/amd/iommu.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Adjusted subject and applied to x86/amd branch, thanks.