* remove excess initializer
@ 2005-01-27 15:28 Benjamin LaHaise
2005-01-27 19:48 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin LaHaise @ 2005-01-27 15:28 UTC (permalink / raw)
To: davem; +Cc: netdev
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.
*/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: remove excess initializer
2005-01-27 15:28 remove excess initializer Benjamin LaHaise
@ 2005-01-27 19:48 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-01-27 19:48 UTC (permalink / raw)
To: Benjamin LaHaise; +Cc: netdev
On Thu, 27 Jan 2005 10:28:23 -0500
Benjamin LaHaise <bcrl@kvack.org> wrote:
> The patch below removes some useless code bloat that is left over from
> who knows when.
That thing is older than the dinosaurs :-)
Patch applied, thanks Ben.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-27 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 15:28 remove excess initializer Benjamin LaHaise
2005-01-27 19:48 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).