Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2415483rdb; Mon, 25 Dec 2023 09:44:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsNzU0EgMvb3k1tt1dP1DOCtzbZcqVvwsUlElkRjeyIaqlQ08Igx9FnCnbSkZmYWXfj8Qy X-Received: by 2002:a05:620a:28c4:b0:781:11f1:57fd with SMTP id l4-20020a05620a28c400b0078111f157fdmr10861550qkp.35.1703526290543; Mon, 25 Dec 2023 09:44:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703526290; cv=none; d=google.com; s=arc-20160816; b=Jy8xPiBrL4q5fX+LPV3pN2KXU2e7TX2AJapUnLn57n/tTLqBsuhg+rUV+Dez35kHjB VSUAvzEu4vTB3VK+dLcSUdEZD++s9+zCdE4KzD+T8ZQyNMrxEwUNcqc2UeEO7D7rQBp9 r1PVoM3OEFK0SaKo3cDhFJaNl6Q9mrWYIxuMtHKvWJAUwIuImoNKdEj/TYphD4ar+PVU kGp8U+SU4SgIQ6hj5G4glY/reAzaGcbfFpBjwtcDyAdW9qAIZHjcurLlT4EPuXZFTcKk w08H6RWuVszvAso5jDx75KmTLZRCEk6HHzcpEhRwPfD7YCp6D3dCMhSULDr2WvgIYVKl 0jzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=euE6wipWVqr1dlKu/ekpCg4FTnHikvpBzI5hIwBpMGc=; fh=xQ7XBkV8Vfr1n1guxZ3RC0eNPkZJ/hSLNnxt7nNRj5I=; b=wy063PZx84Vc6pAgWbnSRILa/Bz+n0wWiXYbkn+cCFICi9pSCdyPedvhK2fOOrzQ9e Qr0LT2U/M9daTpuTibM8N3xRE8GmTh5jO5fTSP8LzEiPgCu08H1gqXvjeXc0HcV3cxgY p58xeu9UgQLBQ1ZVbhFJzFQRsXCCes8z9xaAiWxvwOf8Acgy/+QQF8TQ+bjyc8gBnMvD nvzwEYavG5TxNqze/zKjrsEoww/Z/+wduFPDQTu+Z18e46CPdDU4HbUbp16Uj1Ua7PSz 7JP7jRrRhJOKb86B4YaC+jvYvyOLt9vpwbY0jDfygM5fE6zIS3WnaPX2ALN+gIIyCFz1 MTKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=BRgVjKbC; spf=pass (google.com: domain of linux-kernel+bounces-11133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11133-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w11-20020a05620a424b00b007810d93abe2si11578260qko.626.2023.12.25.09.44.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 09:44:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=BRgVjKbC; spf=pass (google.com: domain of linux-kernel+bounces-11133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11133-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4CC501C211F7 for ; Mon, 25 Dec 2023 17:44:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5241552F9D; Mon, 25 Dec 2023 17:44:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="BRgVjKbC" X-Original-To: linux-kernel@vger.kernel.org Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3ADC252F81; Mon, 25 Dec 2023 17:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1703526253; x=1704131053; i=markus.elfring@web.de; bh=RztvVJkiqN6k6MAkMSOfzbHfNuTEw4Oiqcl/UjOdytc=; h=X-UI-Sender-Class:Date:Subject:From:To:Cc:References: In-Reply-To; b=BRgVjKbCkwimRPbV0xi6sn4JfyUN/SzJgjz8cOM5S2JoP1OXON/UwUFDpHauZHqm tOeczZtc4kAH3h4oeMjhT3RatwqgHxRckDEQotpj7/t1W4nnTUE52FbQ4LPyWpwLF Vj/4cq0CClA8GU9SDN/M7dktQakpZRwz4FQk2QPvjz/AKZJHJ4WwQcIIJwhypHHc0 g1cBzDutd44pLitRq4V5q90wCspsx6tQMOPRLqBst0+TlzyV1N68otNR18xCnFbpQ AuaYYK/gZmuBQIcjmGDDk+Qzc1I467ySsCaA/X+9sZky8tToIjTWrA8EAbH9OEqiV 1dvx5Apk+4BxMxvZvg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MVaYw-1rjLj72n6y-00Re9o; Mon, 25 Dec 2023 18:44:13 +0100 Message-ID: Date: Mon, 25 Dec 2023 18:44:12 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 6/7] EDAC/amd64: Delete an unnecessary variable initialisation in probe_one_instance() Content-Language: en-GB From: Markus Elfring To: linux-edac@vger.kernel.org, kernel-janitors@vger.kernel.org, Borislav Petkov , James Morse , Mauro Carvalho Chehab , Robert Richter , Tony Luck , Yazen Ghannam Cc: LKML , cocci@inria.fr, Muralidhara M K References: <8c9e2c01-9ed0-4392-af40-4e8eb393cb67@web.de> In-Reply-To: <8c9e2c01-9ed0-4392-af40-4e8eb393cb67@web.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:tguqig1/d9Gquv0duF+HYbD6u0Nq0ecs9k3puuWqEaduLqMP8OF G4a21omXnXOFpHBg2wi7+aR92clYLkKHm1+9XBeRYSheetn+JsHA9uKBjG0dgaq+zaaR3xY OtNVeH+++yTq54V7fXUILiAmNH9KD2CfeSSAN2G7H1ksOx+KX7WY1kSqHu5L+eu8PhfsrBn AZVC3bVkjhOI0ERjx1mhA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:XsXR/k+e8AY=;T5v8XO6GeyaX87PWrmzvSBStT/Z nLPSHKRzZdcS7j+BOOU6XYHJfHX1wiezd1OFxQpG04KJse2qPMYEBRJKh4nAI+bHvMxwVAIAB vjBwcnsnm5jDO2NosbNcJFc58yGMZm3GMJewRe9lG+yE20eM601t+CGiAMsCPdxiP7G6OrVHJ gsE22naXBT+dxpwcQjDQJL/xRol1qfyDWyiLAvDTmeZQ88DNjKogIyszaSqrEtpIMo/FK5TIo x0T2Odztm+LGQKYNH2MfiN71BIh28whLF9lK7LZCOuu2Ky5I4xplJSNsQtVstIDFSW65VE87P GSyfpghMAUhhgIP58YwemmIUADW4elWCCyzzhDd+kMJuZ+qx0eMksumHfknPMrJ6bg86T58GA 5HZ4wpfDv/xTfxA8Fyu1X/ENw7SVc7iSi0A4ei4R93BpqO85dVatdGQxhHeLPqiQtbawtR4Fy Xm7/emiaHBOoXF0XotHtHcG9UphMCPmQGZ7pVPQd3WFARZtMUDs9ECXLDXnEc8frWyxduR6Ub hc3C7/sO71h/8MIonMNgBkdKaOeIBSryK9IE/c1uSCrbT7wtp2NgU4HCA2k7FefpYhCbSEYt3 EPUgbU0ZEC0QOm62+IAvASGMbV93JXtKN3qto+mDHqwjVE0YbWwKFS/iIsRWqYqVioX1yJfqu 4JtY1OKNFrN97jBU3/bYOZ7H/CO+nS1D44D5A8Va+dTAJBS8/TTRJwrkrW59VTQsQBj+1UitU FH6Qmyvlx76pVpTSySZyc1icdN4OprxM/R2IedGGIXOmJ8yEnnSA3EcYz+Mifc5hgqBHj4OK+ GbW0U2f/bKMB/zbkuuOal0pBVgxSDpgkPdIOxZQdL3ASKerCoA954gVltfxLrRIPoqGCtghuy Y7PVG5mqy+L+fhAsbtG3KAl0KAsiNASLtXLzGErxqdu5epnuOdOMyKrK4FnyqgJ4L0rbVnoqO F4dysw== From: Markus Elfring Date: Mon, 25 Dec 2023 17:34:35 +0100 The variable =E2=80=9Cpvt=E2=80=9D will eventually be set to an appropriat= e pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring =2D-- drivers/edac/amd64_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 7536236df542..698cde573847 100644 =2D-- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -4264,7 +4264,7 @@ static bool instance_has_memory(struct amd64_pvt *pv= t) static int probe_one_instance(unsigned int nid) { struct pci_dev *F3 =3D node_to_amd_nb(nid)->misc; - struct amd64_pvt *pvt =3D NULL; + struct amd64_pvt *pvt; struct ecc_settings *s; int ret; =2D- 2.43.0