Remove unnecessary NULL pointer check
requested to merge 3317-cid-352554-1-of-1-dereference-before-null-check-reverse_inull-v9_18 into v9_18
3034 next = ISC_LIST_NEXT(query, link); 3035 } else { 3036 next = NULL; 3037 }
CID 352554 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking connectquery suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
3038 if (connectquery != NULL) {
3039 query_detach(&connectquery);
3040 }
(cherry picked from commit 30f3d513)
Closes #3317 (closed)