From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AF89D518 for ; Mon, 1 Jan 2024 18:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=networkplumber.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20230601.gappssmtp.com header.i=@networkplumber-org.20230601.gappssmtp.com header.b="yYLT3OuM" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d427518d52so45297175ad.0 for ; Mon, 01 Jan 2024 10:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704134545; x=1704739345; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=KfokxdhSU4tLxSdVyPZZGBcng5PdbI1Z1I+Y2j7YQ4c=; b=yYLT3OuMpxyC/QjKAL77A5YmmzHCyHPOXwIVvuw85scv/7v8ZCR7W+oG7EKAcz/mW7 WtkrZrJDRzaqmxwID4Hehb4uhNXKx5IS4YLfgONZ07HwzLQK3Ap/1o6nCyD/KRNED65j U/2J45jnRPsvQrI+KspdRCdfKNzbtL9fLsgwuOcst3nKOsmPIqwZmtZG8pjE8HJxMXny EWeUXpKkmQ3rCsk6zhJ33vKE904A545PxvgzsDdmWhB4Izzgy9GckZOuYz0a+dfGNIiR Ore1GEgT5aSUH2d7oUWOxtLUPqLvgNzy59zwgPC3ktaG1w7ZHb/nmBVpovSinXQzWugW w7GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704134545; x=1704739345; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KfokxdhSU4tLxSdVyPZZGBcng5PdbI1Z1I+Y2j7YQ4c=; b=a1vvrfqa3+ChCN77Z1f02rqVIYkm9Ebx6h1ykvh6yrvrOf9vvEdHWnSPSn7hLupJXD B1QjZgsFBg7221so2djKnUOKkvQ4d9c4Jefa746WkggTKzEQ3caQcaTdUCrUFMLzC5ZV Lde4sa9MebFmCgrVBF12/gNt7uS/erx8M1seAaCEqlWuSLRG019cnhxSz95fatKvkBEF vtnBR0hpaholJ6Dd2KxzYG/pumli/ZgX7of8sP/Az7Y0xfGdSZfuwOBkcn0nYhlKAoJy yw+8TkFfZZa/JUHEBmOhLeTNy1xGz2iDwbZU+uyeiKX6ToGJ9Y4MDq0GIa7wXUopcmOJ S9IA== X-Gm-Message-State: AOJu0YzhdePU2fsuwwYF+PRmB82EiamEGYxOhmh229EC98HAIhIrXviA KrO8Ru6QkkGD9lDJq335avoi8bKulwFTLA== X-Google-Smtp-Source: AGHT+IErmgJv/Lk9O77zcBaYI+9tDns4C7D0gU3BnLHeBWPwqskMc9AH6WzdelWWRCzDZh6H4+yzgw== X-Received: by 2002:a17:902:aa47:b0:1d0:6ffd:6108 with SMTP id c7-20020a170902aa4700b001d06ffd6108mr16256592plr.42.1704134545353; Mon, 01 Jan 2024 10:42:25 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id t6-20020a170902a5c600b001d3bfd30886sm19299248plq.37.2024.01.01.10.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 10:42:25 -0800 (PST) Date: Mon, 1 Jan 2024 10:42:22 -0800 From: Stephen Hemminger To: Markus Elfring Cc: netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, Anjali Kulkarni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Kuniyuki Iwashima , Paolo Abeni , Simon Horman , LKML Subject: Re: [PATCH 3/4] netlink: Delete an unnecessary variable initialisation in __netlink_kernel_create() Message-ID: <20240101104222.00c6fff8@hermes.local> In-Reply-To: <57779d2f-0d39-4c2e-8718-3c9242177013@web.de> References: <90679f69-951c-47b3-b86f-75fd9fde3da3@web.de> <57779d2f-0d39-4c2e-8718-3c9242177013@web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 31 Dec 2023 18:46:09 +0100 Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 31 Dec 2023 17:45:00 +0100 >=20 > The variable =E2=80=9Clisteners=E2=80=9D will eventually be set to an app= ropriate pointer > a bit later. Thus omit the explicit initialisation at the beginning. >=20 > Signed-off-by: Markus Elfring This looks OK, and the compiler would catch if it was a problem. Not really necessary though. Acked-by: Stephen Hemminger