]> git.hungrycats.org Git - linux/commitdiff
[IPSEC]: Kill warning in xfrm_algo.c.
authorDavid S. Miller <davem@nuts.ninka.net>
Thu, 9 Jan 2003 14:56:01 +0000 (06:56 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 9 Jan 2003 14:56:01 +0000 (06:56 -0800)
net/ipv4/xfrm_algo.c

index 5e68eb16b4b68de09f4074ee0282247e1c3cfe53..192d05638821aed42b78a0b988bee7ed8f52673c 100644 (file)
@@ -310,11 +310,11 @@ struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx)
  */
 void xfrm_probe_algs(void)
 {
+#ifdef CONFIG_CRYPTO
        int i, status;
        
        BUG_ON(in_softirq());
 
-#ifdef CONFIG_CRYPTO
        for (i = 0; i < aalg_entries(); i++) {
                status = crypto_alg_available(aalg_list[i].name, 0);
                if (aalg_list[i].available != status)