[IPV6]: remove ifdef in route6 for xfrm6
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Sat, 8 Dec 2007 08:14:11 +0000 (00:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:59 +0000 (14:56 -0800)
commitc35b7e72cd48bc7163b6900fb3689fa54b572bba
tree28e1386d9c0a7522e40d6d77b2c912f88f0e8a36
parent75314fb38364c81a573cd222f74d792409a7afba
[IPV6]: remove ifdef in route6 for xfrm6

The following patch create the usual static inline functions to disable
the xfrm6_init and xfrm6_fini function when XFRM is off.
That's allow to remove some ifdef and make the code a little more clear.

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>
include/net/xfrm.h
net/ipv6/route.c