diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-07 06:16:46 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-02-28 05:31:37 -0500 |
commit | df586cbb6be97aaf55b9a01e1d0ab01bc03d70d1 (patch) | |
tree | 7cf0e1823861a25cacc68d48cc4f9fdb6c11b828 /drivers/crypto | |
parent | 6cf02fcab1f6158c224fb00619f21556d8e5c4ea (diff) |
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/sahara.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 822978d823aa..c38553ed792c 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c | |||
@@ -1047,7 +1047,7 @@ static int sahara_sha_process(struct ahash_request *req) | |||
1047 | { | 1047 | { |
1048 | struct sahara_dev *dev = dev_ptr; | 1048 | struct sahara_dev *dev = dev_ptr; |
1049 | struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); | 1049 | struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); |
1050 | int ret = -EINPROGRESS; | 1050 | int ret; |
1051 | unsigned long timeout; | 1051 | unsigned long timeout; |
1052 | 1052 | ||
1053 | ret = sahara_sha_prepare_request(req); | 1053 | ret = sahara_sha_prepare_request(req); |