]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove unnecessary if statement
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Mar 2010 15:24:34 +0000 (15:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Mar 2010 15:24:34 +0000 (15:24 +0000)
git-svn-id: file:///svn/unbound/trunk@2009 be551aaa-1e26-0410-a405-d3ace91eadb9

iterator/iterator.c

index 32b82dbbf6088af232dc83090c6e15031cf83ed2..33635b50edbd7325d798404f1c5fc9fccc220ea8 100644 (file)
@@ -829,10 +829,7 @@ generate_dnskey_prefetch(struct module_qstate* qstate,
                /* this qstate has the right delegation for the dnskey lookup*/
                /* make copy to avoid use of stub dp by different qs/threads */
                subiq->dp = delegpt_copy(iq->dp, subq->region);
-               if(!subiq->dp) {
-                       /* it'll start from the cache */
-                       return;
-               }
+               /* if !subiq->dp, it'll start from the cache, no problem */
        }
 }