[IPV6]: create route6 proc init-fini functions
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Sat, 8 Dec 2007 08:13:32 +0000 (00:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:58 +0000 (14:56 -0800)
commit75314fb38364c81a573cd222f74d792409a7afba
treec9f65215a6c0be4a61acd4c54c39a43c76af33c6
parentb8e1f9b5c37e77cc8f978a58859b35fe5edd5542
[IPV6]: create route6 proc init-fini functions

Make the proc creation/destruction to be a separate function. That
allows to remove the #ifdef CONFIG_PROC_FS in the init/fini function
and make them more readable.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c