summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-17 15:46:30 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-18 14:44:34 +0100
commitc2551e7105051f40b2bf77a5c1ecb2e720d78d77 (patch)
tree7fbe2d5e8ccaa561a0332dc1ad2d86bdbb94f137 /src/journal
parentf534928ad7aaeec0bec2d653b4a50e79b0fc8418 (diff)
journal: next_with_matches() now does not need a mapped object as input
Now that journal_file_next_entry() does not need a pointer to the current object, next_with_matches() does not need it either.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/sd-journal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index bcd39be35e..285e5e3fb2 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -748,10 +748,6 @@ static int next_beyond_location(sd_journal *j, JournalFile *f, direction_t direc
cp = f->current_offset;
- r = journal_file_move_to_object(f, OBJECT_ENTRY, cp, &c);
- if (r < 0)
- return r;
-
r = next_with_matches(j, f, direction, &c, &cp);
if (r <= 0)
return r;