Re: [PATCH v2] ramfs: Remove module leftovers

From: Richard Weinberger
Date: Mon Oct 10 2011 - 07:13:31 EST


Am 10.10.2011 13:09, schrieb Christoph Hellwig:
> On Mon, Oct 10, 2011 at 12:54:39PM +0200, Richard Weinberger wrote:
>> Since ramfs is hard-selected to "y", the module leftovers make
>> no sense.
>
> Removing the dead code looks good, but what is the point in using
> device_initcall? We've always been using module_init for non-modular
> code, though.
>

Ah, ok!
So we can keep the module_init()?
I was not sure whether it's valid to use module_init() in pure
non-modular code...

Thanks,
//richard

Attachment: signature.asc
Description: OpenPGP digital signature