mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
crypto/block: drop qcrypto_block_open() n_threads argument
The n_threads argument is no longer used since the previous commit. Remove it. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20240527155851.892885-3-stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
af206c284e
commit
3ab0f063e5
9 changed files with 6 additions and 19 deletions
|
@ -303,7 +303,6 @@ static void test_block(gconstpointer opaque)
|
|||
test_block_read_func,
|
||||
&header,
|
||||
0,
|
||||
1,
|
||||
NULL);
|
||||
g_assert(blk == NULL);
|
||||
|
||||
|
@ -312,7 +311,6 @@ static void test_block(gconstpointer opaque)
|
|||
test_block_read_func,
|
||||
&header,
|
||||
QCRYPTO_BLOCK_OPEN_NO_IO,
|
||||
1,
|
||||
&error_abort);
|
||||
|
||||
g_assert(qcrypto_block_get_cipher(blk) == NULL);
|
||||
|
@ -327,7 +325,6 @@ static void test_block(gconstpointer opaque)
|
|||
test_block_read_func,
|
||||
&header,
|
||||
0,
|
||||
1,
|
||||
&error_abort);
|
||||
g_assert(blk);
|
||||
|
||||
|
@ -384,7 +381,6 @@ test_luks_bad_header(gconstpointer data)
|
|||
test_block_read_func,
|
||||
&buf,
|
||||
0,
|
||||
1,
|
||||
&err);
|
||||
g_assert(!blk);
|
||||
g_assert(err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue