Skip to content

Commit

Permalink
[XFRM]: Remove ifdef crypto.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sebastianas authored and davem330 committed Jan 28, 2008
1 parent 06eaa1a commit 50dd796
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions net/xfrm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
config XFRM
bool
select CRYPTO
depends on NET

config XFRM_USER
Expand Down
2 changes: 0 additions & 2 deletions net/xfrm/xfrm_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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);

Expand Down

0 comments on commit 50dd796

Please sign in to comment.