Re: [PATCH] module: remove redundant module_sysfs_initialized variable

From: Luis Chamberlain
Date: Mon Oct 03 2022 - 19:40:34 EST


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.

Luis