提交 50dd7965 编写于 作者: S Sebastian Siewior 提交者: David S. Miller

[XFRM]: Remove ifdef crypto.

and select the crypto subsystem if neccessary
Signed-off-by: NSebastian Siewior <sebastian@breakpoint.cc>
Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 06eaa1a0
......@@ -3,6 +3,7 @@
#
config XFRM
bool
select CRYPTO
depends on NET
config XFRM_USER
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册