journal-file: drop unused tail_entry_monotonic_valid field.

As pointed out by Matthijs van Duin:

https://lists.freedesktop.org/archives/systemd-devel/2018-March/040499.html
This commit is contained in:
Lennart Poettering
2018-03-20 23:31:11 +01:00
parent 3ceae1bc14
commit ffe535e43e
2 changed files with 0 additions and 7 deletions
-5
View File
@@ -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++) {
-2
View File
@@ -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;