Commit be262a6c authored by David S. Miller's avatar David S. Miller

[IPSEC]: Kill warning in xfrm_algo.c.

parent 7db515f9
...@@ -310,11 +310,11 @@ struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx) ...@@ -310,11 +310,11 @@ struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx)
*/ */
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());
#ifdef CONFIG_CRYPTO
for (i = 0; i < aalg_entries(); i++) { for (i = 0; i < aalg_entries(); i++) {
status = crypto_alg_available(aalg_list[i].name, 0); status = crypto_alg_available(aalg_list[i].name, 0);
if (aalg_list[i].available != status) if (aalg_list[i].available != status)
......
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