projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf02fc
)
crypto: sahara - drop unnecessary default assignment
author
Nicholas Mc Guire
<hofrat@osadl.org>
Sat, 7 Feb 2015 11:16:46 +0000
(06:16 -0500)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 28 Feb 2015 10:31:37 +0000
(23:31 +1300)
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>
drivers/crypto/sahara.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/sahara.c
b/drivers/crypto/sahara.c
index 822978d823aa9569dabbd1a568ec4d517919bedb..c38553ed792c8f8ab8c76e9400864903377d341d 100644
(file)
--- a/
drivers/crypto/sahara.c
+++ b/
drivers/crypto/sahara.c
@@
-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);