summaryrefslogtreecommitdiff
path: root/lib/sqfs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs')
-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 */