summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-16 19:06:30 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-18 11:47:13 +0100
commitae2adbcd09bd383b5a18728dfd32cf604c2c910e (patch)
treedf797b3ef5f720a2867f272d5d10d9622a980071 /src/journal/journal-file.c
parentee05e7795bb9ad7d1212dd49ad362f3e9603c4fd (diff)
journal: delete unused function journal_file_move_to_entry_by_offset()
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 7cdaf2920b..75a7c11a0a 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -1799,23 +1799,6 @@ _pure_ static int test_object_offset(JournalFile *f, uint64_t p, uint64_t needle
return TEST_RIGHT;
}
-int journal_file_move_to_entry_by_offset(
- JournalFile *f,
- uint64_t p,
- direction_t direction,
- Object **ret,
- uint64_t *offset) {
-
- return generic_array_bisect(f,
- le64toh(f->header->entry_array_offset),
- le64toh(f->header->n_entries),
- p,
- test_object_offset,
- direction,
- ret, offset, NULL);
-}
-
-
static int test_object_seqnum(JournalFile *f, uint64_t p, uint64_t needle) {
Object *o;
int r;