[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jan 2024 10:42:22 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Markus Elfring <Markus.Elfring@....de>
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org, Anjali Kulkarni
<anjali.k.kulkarni@...cle.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Kuniyuki Iwashima <kuniyu@...zon.com>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/4] netlink: Delete an unnecessary variable
initialisation in __netlink_kernel_create()
On Sun, 31 Dec 2023 18:46:09 +0100
Markus Elfring <Markus.Elfring@....de> wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Sun, 31 Dec 2023 17:45:00 +0100
>
> The variable “listeners” will eventually be set to an appropriate pointer
> a bit later. Thus omit the explicit initialisation at the beginning.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
This looks OK, and the compiler would catch if it was a problem.
Not really necessary though.
Acked-by: Stephen Hemminger <stephen@...workplumber.org>
Powered by blists - more mailing lists