summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-10 21:53:11 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-10 21:53:11 +0100
commit52c9b6954bad7b3693bf23eeb8a4eb9293c190db (patch)
tree3df9d1e453ab4d3ef3e61478dc200faa168c164f /lib
parent9d6515ce3dbc2b4e854a1ac418555cc89bb2bb70 (diff)
Cleanup: remove block hooks entirely from block processor
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/sqfs/block_processor/common.c9
-rw-r--r--lib/sqfs/block_processor/internal.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/sqfs/block_processor/common.c b/lib/sqfs/block_processor/common.c
index 6bd5d26..38941ab 100644
--- a/lib/sqfs/block_processor/common.c
+++ b/lib/sqfs/block_processor/common.c
@@ -44,15 +44,6 @@ void block_processor_cleanup(sqfs_block_processor_t *proc)
free(proc);
}
-int sqfs_block_processor_set_hooks(sqfs_block_processor_t *proc, void *user_ptr,
- const sqfs_block_hooks_t *hooks)
-{
- proc->hooks = hooks;
- proc->user_ptr = user_ptr;
-
- return sqfs_block_writer_set_hooks(proc->wr, user_ptr, hooks);
-}
-
int process_completed_block(sqfs_block_processor_t *proc, sqfs_block_t *blk)
{
sqfs_u64 location;
diff --git a/lib/sqfs/block_processor/internal.h b/lib/sqfs/block_processor/internal.h
index dcf8a09..847b2c6 100644
--- a/lib/sqfs/block_processor/internal.h
+++ b/lib/sqfs/block_processor/internal.h
@@ -68,9 +68,6 @@ struct sqfs_block_processor_t {
bool notify_threads;
sqfs_block_writer_t *wr;
- const sqfs_block_hooks_t *hooks;
- void *user_ptr;
-
sqfs_block_processor_stats_t stats;
/* file API */