diff options
author | Daniel Mack <daniel@zonque.org> | 2015-07-28 18:09:08 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-08-25 10:18:45 +0200 |
commit | 8326c7f789bad623a5705b04b78d104d993a90ee (patch) | |
tree | 943f928aaa20cca68982ff0b37949d27d1bb1b58 /src/resolve/resolved-dns-transaction.c | |
parent | dd42560795996c723d4631570b74ac644934ebd3 (diff) |
resolved: remove runtime check for previously asserted condition
Diffstat (limited to 'src/resolve/resolved-dns-transaction.c')
-rw-r--r-- | src/resolve/resolved-dns-transaction.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index bbbc6377a8..af654cbc69 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -186,9 +186,6 @@ void dns_transaction_complete(DnsTransaction *t, DnsTransactionState state) { assert(t); assert(!IN_SET(state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING)); - if (!IN_SET(t->state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING)) - return; - /* Note that this call might invalidate the query. Callers * should hence not attempt to access the query or transaction * after calling this function. */ |