summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_algo.c
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2008-01-09 09:36:17 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:01:12 +0100
commit50dd79653e295ce40da38c03bbfb5966aa1c1598 (patch)
treec96cee5292a6d335978d578043a6c436d42e7ad3 /net/xfrm/xfrm_algo.c
parent[BRIDGE]: Remove unused macros from ebt_vlan.c (diff)
downloadlinux-50dd79653e295ce40da38c03bbfb5966aa1c1598.tar.xz
linux-50dd79653e295ce40da38c03bbfb5966aa1c1598.zip
[XFRM]: Remove ifdef crypto.
and select the crypto subsystem if neccessary Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/xfrm/xfrm_algo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index 1686f64c4352..b5c5347aed66 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -486,7 +486,6 @@ EXPORT_SYMBOL_GPL(xfrm_ealg_get_byidx);
*/
void xfrm_probe_algs(void)
{
-#ifdef CONFIG_CRYPTO
int i, status;
BUG_ON(in_softirq());
@@ -511,7 +510,6 @@ void xfrm_probe_algs(void)
if (calg_list[i].available != status)
calg_list[i].available = status;
}
-#endif
}
EXPORT_SYMBOL_GPL(xfrm_probe_algs);