[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6b2496d7-02ee-47f2-8b7f-f30e351e9b2c@web.de>
Date: Mon, 18 Aug 2025 21:07:37 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Liao Yuanhong <liaoyuanhong@...o.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>, Chanwoo Choi <cw00.choi@...sung.com>
Cc: LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] extcon: Remove redundant 0 value initialization
> 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
Powered by blists - more mailing lists