[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f7fe2444-ba6a-4816-9bd1-0ce233749f6a@web.de>
Date: Mon, 18 Aug 2025 21:00:08 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Liao Yuanhong <liaoyuanhong@...o.com>, linux-bluetooth@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>, Luiz Von Dentz
<luiz.dentz@...il.com>, Marcel Holtmann <marcel@...tmann.org>,
Paul Menzel <pmenzel@...gen.mpg.de>
Subject: Re: [PATCH] Bluetooth: hci_ldisc: Remove redundant 0 value
initialization
> The hci_uart struct is already zeroed by kzalloc(). It's redundant to
> initialize hu->padding to 0.
See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n94
Regards,
Markus
Powered by blists - more mailing lists