Re: [PATCH] Re: SCSI scanning

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Sep 18 2000 - 16:38:19 EST


On Mon, 18 Sep 2000, Eric Youngdale wrote:
>
> What is the primary objective here - getting rid of #ifdef MODULE, or is
> it removing redundant code for the two paths? Or both?

Both.

As you probably saw, it really started out from fixing this silly bug that
was introduced by mistake some time ago - which was due to both the module
init and the "built-in" init code kicking in. The fact that it wasn't
clear which happened where is really for me the driving force here - I'd
like to avoid the same bug cropping up in half a year when somebody cleans
up some low-level driver init.

Oh, and getting rid of the init list in hosts.c is a nice bonus. It just
goes away automatically if you look at the module init path instead ;)

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:18 EST