Re: [PATCH] module: remove redundant module_sysfs_initialized variable
From: Christophe Leroy
Date: Tue Oct 04 2022 - 00:35:58 EST
Le 04/10/2022 à 01:40, Luis Chamberlain a écrit :
> On Thu, Sep 29, 2022 at 02:10:39PM +0200, Rasmus Villemoes wrote:
>> The variable module_sysfs_initialized is used for checking whether
>> module_kset has been initialized. Checking module_kset itself works
>> just fine for that.
>>
>> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
>
> Looks pretty sane to me, thanks! I'll queue this up for 6.2
> as we didn't get a chance to spin test this for 6.1 on linux-next.
>
Maybe you can mention that this is a leftover from commit 7405c1e15edf
("kset: convert /sys/module to use kset_create")
Christophe