summaryrefslogtreecommitdiff
path: root/lib/sqfs/block_processor/common.c
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/sqfs/block_processor/common.c
parent9d6515ce3dbc2b4e854a1ac418555cc89bb2bb70 (diff)
Cleanup: remove block hooks entirely from block processor
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/common.c')
-rw-r--r--lib/sqfs/block_processor/common.c9
1 files changed, 0 insertions, 9 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;