From: Devendra Naga Date: Tue, 22 Jan 2013 08:56:08 +0000 (-0500) Subject: staging: sep: remove assignment to i and j in sep_crypto_setup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c095454e4b6acc8a5e7908647ec60d6088be90c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sep/sep_crypto.c b/drivers/staging/sep/sep_crypto.c index 34710ce56004..861588f57d2b 100644 --- a/drivers/staging/sep/sep_crypto.c +++ b/drivers/staging/sep/sep_crypto.c @@ -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)