Thread (11 messages) 11 messages, 3 authors, 2024-01-01

Re: [PATCH 3/4] netlink: Delete an unnecessary variable initialisation in __netlink_kernel_create()

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2024-01-01 18:42:25
Also in: kernel-janitors, lkml

On Sun, 31 Dec 2023 18:46:09 +0100
Markus Elfring [off-list ref] wrote:
From: Markus Elfring <redacted>
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 <redacted>
This looks OK, and the compiler would catch if it was a problem.
Not really necessary though.

Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help