Commit c095454e authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: sep: remove assignment to i and j in sep_crypto_setup

the i and j are used in for loop and they assigned to zeros in the
for loop, so no need to assign them to zeros again.
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b63c577
......@@ -3908,13 +3908,9 @@ int sep_crypto_setup(void)
return -ENOMEM;
}
i = 0;
j = 0;
spin_lock_init(&queue_lock);
err = 0;
for (i = 0; i < ARRAY_SIZE(hash_algs); i++) {
err = crypto_register_ahash(&hash_algs[i]);
if (err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment