mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-20 12:14:56 +00:00
crypto: marvell/octeontx - remove redundant initialization of variable c_size
Variable c_size is being initialized with a value that is never read, it is being re-assigned with a different value later on. The initialization is redundant and can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
2d841af23a
commit
c717993dd7
@ -204,7 +204,6 @@ static int alloc_command_queues(struct otx_cptvf *cptvf,
|
|||||||
|
|
||||||
/* per queue initialization */
|
/* per queue initialization */
|
||||||
for (i = 0; i < cptvf->num_queues; i++) {
|
for (i = 0; i < cptvf->num_queues; i++) {
|
||||||
c_size = 0;
|
|
||||||
rem_q_size = q_size;
|
rem_q_size = q_size;
|
||||||
first = NULL;
|
first = NULL;
|
||||||
last = NULL;
|
last = NULL;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user