diff --git a/src/app-layer-dns-tcp.c b/src/app-layer-dns-tcp.c index b27d8d87e9..4296a49c15 100644 --- a/src/app-layer-dns-tcp.c +++ b/src/app-layer-dns-tcp.c @@ -363,7 +363,7 @@ next_record: goto bad_data; } - if (dns_state != NULL && f != NULL) { + if (f != NULL) { dns_state->last_req = f->lastts; } @@ -582,7 +582,7 @@ next_record: goto bad_data; } - if (dns_state != NULL && f != NULL) { + if (f != NULL) { dns_state->last_req = f->lastts; }