Commit df586cbb authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Herbert Xu

crypto: sahara - drop unnecessary default assignment

All possible code-paths will assign ret to suitable values so this
default value is not needed.
Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6cf02fca
...@@ -1047,7 +1047,7 @@ static int sahara_sha_process(struct ahash_request *req) ...@@ -1047,7 +1047,7 @@ static int sahara_sha_process(struct ahash_request *req)
{ {
struct sahara_dev *dev = dev_ptr; struct sahara_dev *dev = dev_ptr;
struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); struct sahara_sha_reqctx *rctx = ahash_request_ctx(req);
int ret = -EINPROGRESS; int ret;
unsigned long timeout; unsigned long timeout;
ret = sahara_sha_prepare_request(req); ret = sahara_sha_prepare_request(req);
......
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