Commit 50dd7965 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by David S. Miller

[XFRM]: Remove ifdef crypto.

and select the crypto subsystem if neccessary
Signed-off-by: default avatarSebastian Siewior <sebastian@breakpoint.cc>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06eaa1a0
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
config XFRM config XFRM
bool bool
select CRYPTO
depends on NET depends on NET
config XFRM_USER config XFRM_USER
......
...@@ -486,7 +486,6 @@ EXPORT_SYMBOL_GPL(xfrm_ealg_get_byidx); ...@@ -486,7 +486,6 @@ EXPORT_SYMBOL_GPL(xfrm_ealg_get_byidx);
*/ */
void xfrm_probe_algs(void) void xfrm_probe_algs(void)
{ {
#ifdef CONFIG_CRYPTO
int i, status; int i, status;
BUG_ON(in_softirq()); BUG_ON(in_softirq());
...@@ -511,7 +510,6 @@ void xfrm_probe_algs(void) ...@@ -511,7 +510,6 @@ void xfrm_probe_algs(void)
if (calg_list[i].available != status) if (calg_list[i].available != status)
calg_list[i].available = status; calg_list[i].available = status;
} }
#endif
} }
EXPORT_SYMBOL_GPL(xfrm_probe_algs); EXPORT_SYMBOL_GPL(xfrm_probe_algs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment