summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/journal/journal-file.c5
-rw-r--r--src/journal/journal-file.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 5643c0578d..3b4e69fed1 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -470,9 +470,6 @@ static int journal_file_refresh_header(JournalFile *f) {
if (r < 0)
return r;
- if (sd_id128_equal(boot_id, f->header->boot_id))
- f->tail_entry_monotonic_valid = true;
-
f->header->boot_id = boot_id;
r = journal_file_set_online(f);
@@ -1797,8 +1794,6 @@ static int journal_file_link_entry(JournalFile *f, Object *o, uint64_t offset) {
f->header->tail_entry_realtime = o->entry.realtime;
f->header->tail_entry_monotonic = o->entry.monotonic;
- f->tail_entry_monotonic_valid = true;
-
/* Link up the items */
n = journal_file_entry_n_items(o);
for (i = 0; i < n; i++) {
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
index 67abf8da49..435af53f76 100644
--- a/src/journal/journal-file.h
+++ b/src/journal/journal-file.h
@@ -90,8 +90,6 @@ typedef struct JournalFile {
bool close_fd:1;
bool archive:1;
- bool tail_entry_monotonic_valid:1;
-
direction_t last_direction;
LocationType location_type;
uint64_t last_n_entries;