Re: [PATCH] extcon: Remove redundant 0 value initialization

From: Markus Elfring
Date: Mon Aug 18 2025 - 15:16:33 EST


> 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