* Re: [PATCH] extcon: Remove redundant 0 value initialization
[not found] <20250818140204.4762-1-liaoyuanhong@vivo.com>
@ 2025-08-18 19:07 ` Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2025-08-18 19:07 UTC (permalink / raw)
To: Liao Yuanhong, MyungJoo Ham, Chanwoo Choi; +Cc: LKML, kernel-janitors
> The extcon_dev struct is already zeroed by kzalloc(). It's redundant to
> initialize edev->max_supported 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-18 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250818140204.4762-1-liaoyuanhong@vivo.com>
2025-08-18 19:07 ` [PATCH] extcon: Remove redundant 0 value initialization Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).