Re: [PATCH] module: remove redundant module_sysfs_initialized variable
From: Luis Chamberlain
Date: Tue Oct 04 2022 - 12:31:39 EST
On Tue, Oct 04, 2022 at 04:35:43AM +0000, Christophe Leroy wrote:
> 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")
Sure, did that.