From: Wouter Wijngaards Date: Thu, 4 Mar 2010 15:24:34 +0000 (+0000) Subject: remove unnecessary if statement X-Git-Tag: release-1.4.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=867dfc05639e5980feb2294ec81f04f1903b5e32;p=thirdparty%2Funbound.git remove unnecessary if statement git-svn-id: file:///svn/unbound/trunk@2009 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/iterator/iterator.c b/iterator/iterator.c index 32b82dbbf..33635b50e 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -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 */ } }