diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-13 23:51:13 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-15 18:09:40 +0100 |
commit | 81c47bee5b554688aaeaedc9d8453a676b9a9107 (patch) | |
tree | d66abe7b833ebc32e414abc445dce9838aa93c82 /lib/sqfs/block_processor/serial.c | |
parent | 5916e87394cc7e3d38102798def727ae233b9997 (diff) |
Cleanup: block processor: remove test_and_set_status
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/serial.c')
-rw-r--r-- | lib/sqfs/block_processor/serial.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/sqfs/block_processor/serial.c b/lib/sqfs/block_processor/serial.c index 9c21950..dce7490 100644 --- a/lib/sqfs/block_processor/serial.c +++ b/lib/sqfs/block_processor/serial.c @@ -36,14 +36,6 @@ sqfs_block_processor_t *sqfs_block_processor_create(size_t max_block_size, return proc; } -int test_and_set_status(sqfs_block_processor_t *proc, int status) -{ - if (proc->status == 0) - proc->status = status; - - return proc->status; -} - int append_to_work_queue(sqfs_block_processor_t *proc, sqfs_block_t *block) { sqfs_block_t *fragblk = NULL; |