mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
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: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6cf02fcab1
commit
df586cbb6b
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ static int sahara_sha_process(struct ahash_request *req)
|
|||
{
|
||||
struct sahara_dev *dev = dev_ptr;
|
||||
struct sahara_sha_reqctx *rctx = ahash_request_ctx(req);
|
||||
int ret = -EINPROGRESS;
|
||||
int ret;
|
||||
unsigned long timeout;
|
||||
|
||||
ret = sahara_sha_prepare_request(req);
|
||||
|
|
Loading…
Reference in a new issue