]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/ipv6/ip6_output.c
[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
[linux-beck.git] / net / ipv6 / ip6_output.c
index 1f2c2f9e353f402a674f1cc1cc6a668fc2f83f9c..ae652ca14bc9ef013431324276dc241ab2631ecc 100644 (file)
@@ -792,13 +792,8 @@ int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi *fl)
        if (ipv6_addr_any(&fl->fl6_src)) {
                err = ipv6_get_saddr(*dst, &fl->fl6_dst, &fl->fl6_src);
 
-               if (err) {
-#if IP6_DEBUG >= 2
-                       printk(KERN_DEBUG "ip6_dst_lookup: "
-                              "no available source address\n");
-#endif
+               if (err)
                        goto out_err_release;
-               }
        }
 
        return 0;