remove excess initializer
Subsystems (2)
Hello,
The patch below removes some useless code bloat that is left over from who knows when.
-ben
Signature · 19 lines
"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. */
David S. Miller
maintainerQuoted 2 lines · On Thu, 27 Jan 2005 10:28:23 -0500 Benjamin LaHaise <[email protected]> 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.