From: "Adam J. Richter" <adam@yggdrasil.com>
To: linux-kernel@vger.kernel.org
Subject: Remove net_dev_init from linux-2.4.9/drivers/block/genhd.c?
Date: Thu, 23 Aug 2001 19:27:29 -0700 [thread overview]
Message-ID: <200108240227.TAA12503@adam.yggdrasil.com> (raw)
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
net/core/dev.c.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / 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."
reply other threads:[~2001-08-24 2:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200108240227.TAA12503@adam.yggdrasil.com \
--to=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®