From: Benjamin LaHaise <bcrl@kvack.org>
To: davem@davemloft.net
Cc: netdev@oss.sgi.com
Subject: remove excess initializer
Date: Thu, 27 Jan 2005 10:28:23 -0500 [thread overview]
Message-ID: <20050127152823.GA6420@kvack.org> (raw)
Hello,
The patch below removes some useless code bloat that is left over from
who knows when.
-ben
--
"Time is what keeps everything from happening all at once." -- John Wheeler
diff -purN linux-2.6.11-rc2/net/socket.c linux-2.6.11-rc2.bcrl/net/socket.c
--- linux-2.6.11-rc2/net/socket.c 2005-01-24 10:19:24.000000000 -0500
+++ linux-2.6.11-rc2.bcrl/net/socket.c 2005-01-27 10:25:18.296037875 -0500
@@ -2029,13 +2029,6 @@ void __init sock_init(void)
int i;
/*
- * Initialize all address (protocol) families.
- */
-
- for (i = 0; i < NPROTO; i++)
- net_families[i] = NULL;
-
- /*
* Initialize sock SLAB cache.
*/
next reply other threads:[~2005-01-27 15:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-27 15:28 Benjamin LaHaise [this message]
2005-01-27 19:48 ` remove excess initializer David S. Miller
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=20050127152823.GA6420@kvack.org \
--to=bcrl@kvack.org \
--cc=davem@davemloft.net \
--cc=netdev@oss.sgi.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.