]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
zone: remove a useless remainder of code
authorDavid Vašek <david.vasek@nic.cz>
Tue, 26 Apr 2022 14:31:19 +0000 (16:31 +0200)
committerDavid Vašek <david.vasek@nic.cz>
Mon, 2 May 2022 08:02:29 +0000 (10:02 +0200)
src/knot/zone/zone.c

index c6f51d5ff1bb2fb0dd643e9e1b27b2f4adeeb0be..e8f0afeadc90a39a9f6f6be110645ab13e53c1a2 100644 (file)
@@ -139,9 +139,6 @@ static int flush_journal(conf_t *conf, zone_t *zone, bool allow_empty_zone, bool
        /* Flush journal. */
        if (journal_is_existing(j)) {
                ret = journal_set_flushed(j);
-               if (ret != KNOT_EOK) {
-                       goto flush_journal_replan;
-               }
        }
 
 flush_journal_replan: