[lkml]   [2001]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRemove net_dev_init from linux-2.4.9/drivers/block/genhd.c?
	linux-2.4.9/drivers/block/genhd.c contains a call to
net_dev_init, which appears to be unnecessary, because net_dev_init
will be called automatically by the first call to register_netdevice
if net_dev_init has not already been called (register_netdevice is
in net/core/dev.c). So, I just removed the call to net_dev_init
from drivers/block/genhd.c, and the resulting system seem to be
work fine, but I thought I ought to ask if anyone sees a specific
problem with doing this, and if that problem would be avoided by
just putting a "module_init(net_dev_init);" line at the bottom of

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:58    [W:0.021 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site