Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp601890rwb; Wed, 16 Nov 2022 05:22:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf53vJVULrlsdQmELrSe/HQHz68vd36DQwfkVbj/cXERU0E9q/bw/JEa7KK9qu7dgP5j+SWl X-Received: by 2002:a63:5424:0:b0:437:e9f3:8add with SMTP id i36-20020a635424000000b00437e9f38addmr20952657pgb.438.1668604930817; Wed, 16 Nov 2022 05:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668604930; cv=none; d=google.com; s=arc-20160816; b=tXkaxKu9Svkebv/hRuH0uGtHLBtDEQvHGcYTPgOCctWZpXOu5EZs7EMy1IYDSNj0Zm hfOnxAOB7QeEZRmcNE1lI2PxqWcJoVjzfpY2eTPlAuDnPrja2xNjGFpjckc8Qe3FB5du ddYlhhW2tRgWV1h3pzzuaZS9F764S0Do9ws8lXtQlL8WMx+Qkb4mzX+xND4qrvr8rh0K nWbxqvfQGU12RmUiiFThRrau6W4ZJ//RnJqTawXZtplB2oGaGTNzgZ1JduB+mjjlImWx vRQlOcXAqENqLeEejK0YlmoB5rkwGIYIm7cV8nL08KQfESUxM+yd36IEKHMaATO8LxHc oszg== 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:feedback-id :dkim-signature:dkim-signature; bh=xj3aKfxGwJy7lXbQUiNlCioBOeOFh5KNu2hZUUNyEXo=; b=NkRbaa5LjwShcEpx7OZilKLfpBvcWKBd/WfazteQGmUHdeTxZP5xqBHpMYhseizGe+ vmjFCgIZDuDdEN74vHS2+H5VfnjNp4uaIFTN/wDy4hBrEBOSPidasC15ficSBzcRCiez 23/FVSdPXDQ2hkH6kYukb57dVzFSBqdbiz9bIMz2zUwlnzHVaX0zpAtW63Yv/cMIDCA7 yqANbDQjNa4sKQGPgVrI2yKPTm6o7397pxUB46sQXNQ2LJemMM0WT5wh10UWiN5weLHC WIOvj7vAZfxuHfHcUcz96lKFHIhCEj/N67Ii0yKOq+YLNau9jukGzAY6tem4dcWHk7MK 5tTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov.name header.s=fm2 header.b=GRQJGBVT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RSycFFAw; 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 ms15-20020a17090b234f00b002131407c208si1739505pjb.101.2022.11.16.05.21.59; Wed, 16 Nov 2022 05:22:10 -0800 (PST) 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=@shutemov.name header.s=fm2 header.b=GRQJGBVT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RSycFFAw; 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 S233374AbiKPMlj (ORCPT + 91 others); Wed, 16 Nov 2022 07:41:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233467AbiKPMlh (ORCPT ); Wed, 16 Nov 2022 07:41:37 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9564A2645; Wed, 16 Nov 2022 04:41:36 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 516713200A20; Wed, 16 Nov 2022 07:41:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 16 Nov 2022 07:41:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1668602494; x=1668688894; bh=xj 3aKfxGwJy7lXbQUiNlCioBOeOFh5KNu2hZUUNyEXo=; b=GRQJGBVTIxLEtYCVRP zLh+nJtKtBpqKmugAoImt9AUTRJahXgIBi3tH2MIQvgllYyI9Pmsmi2aj9aGrJhx TGYWcixhHlE+rlMrphZbe5p3B38FtK80rNJ1FsgpC/+w8Lkm/srQ9MkGVsGIUEI4 v74KqZzhdTxGb3uCT8IwR6A7Ox/fWEWSl/uBE6XuqpSGoEYxaqoL2S2pPMktdsT+ JZpRKHl0PoXtjLAj5GRKXsBsGp12rgUgTkOu1+EXZSFyVDBISfs0EvHga2qKXKvL nKL9OdAcSsV7PloaflG8uVgstLQUeMCVCFvtwdcskp0xeC+u8GHi6xQx45Jt2tGZ G5sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1668602494; x=1668688894; bh=xj3aKfxGwJy7lXbQUiNlCioBOeOF h5KNu2hZUUNyEXo=; b=RSycFFAwA0Z9AXvR9/CDiwG0MxJwNDwZx3YAh3yT10vC 1YwUnCrObKpHkyCXUbLK74n1Zzy0b0ZYbZJbSvAWITbM679bOrZ6pIPOmAIdjAp7 YYKiYMgILh5WBuhqQTaESOxBajOkMYq+s53DzTzgLiKZl6vs0bP8O4zBbVXfyfQV VSuk/CiRb+kpdTOgPwMDOW3cY//JmvGidoBwj1b2ApZDjLxJXA1RE/eriMHgd6zm 3W5xvyMJWshwXQ5yXwO7VNmfmGMyzmpohSRaaC7+jdBl6SQDlaawMI092X77hf/M OrwUK6HApThQiC31HGp4dfpMug0UtnG/Pw/S9+3njQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeeigdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttddttddttddvnecuhfhrohhmpedfmfhirhhi lhhlucetrdcuufhhuhhtvghmohhvfdcuoehkihhrihhllhesshhhuhhtvghmohhvrdhnrg hmvgeqnecuggftrfgrthhtvghrnhephfeigefhtdefhedtfedthefghedutddvueehtedt tdehjeeukeejgeeuiedvkedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepkhhirhhilhhlsehshhhuthgvmhhovhdrnhgrmhgv X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Nov 2022 07:41:33 -0500 (EST) Received: by box.shutemov.name (Postfix, from userid 1000) id E64DE104CEC; Wed, 16 Nov 2022 15:41:30 +0300 (+03) Date: Wed, 16 Nov 2022 15:41:30 +0300 From: "Kirill A. Shutemov" To: Vishal Verma Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, "Rafael J. Wysocki" , Dan Williams , liushixin2@huawei.com, "Rafael J . Wysocki" Subject: Re: [PATCH 1/2] ACPI: HMAT: remove unnecessary variable initialization Message-ID: <20221116124130.wqa6ywjs5x6gkg45@box.shutemov.name> References: <20221116075736.1909690-1-vishal.l.verma@intel.com> <20221116075736.1909690-2-vishal.l.verma@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116075736.1909690-2-vishal.l.verma@intel.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 Wed, Nov 16, 2022 at 12:57:35AM -0700, Vishal Verma wrote: > In hmat_register_target_initiators(), the variable 'best' gets > initialized in the outer per-locality-type for loop. The initialization > just before setting up 'Access 1' targets was unnecessary. Remove it. > > Cc: Rafael J. Wysocki > Cc: Liu Shixin > Cc: Dan Williams > Signed-off-by: Vishal Verma Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov