diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2011-05-05 15:28:59 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-11 15:06:15 +1000 |
commit | 811e6ed62347f1042ab1c560e5e2ebc8892f7f8f (patch) | |
tree | 33c97f77732b3569d1232066a29ceeeffc4d8db8 /drivers/crypto/mv_cesa.c | |
parent | 99db3eacac81e50225d8a3571e32d692428f6920 (diff) | |
download | linux-811e6ed62347f1042ab1c560e5e2ebc8892f7f8f.tar.gz linux-811e6ed62347f1042ab1c560e5e2ebc8892f7f8f.tar.bz2 linux-811e6ed62347f1042ab1c560e5e2ebc8892f7f8f.zip |
crypto: mv_cesa - drop this call to mv_hash_final from mv_hash_finup
The code in mv_hash_final is actually a superset of mv_hash_finup's
body. Since the driver works fine without, drop it.
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 889c0984cfd1..4aac2941e4c6 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c @@ -728,9 +728,6 @@ static int mv_hash_final(struct ahash_request *req) static int mv_hash_finup(struct ahash_request *req) { - if (!req->nbytes) - return mv_hash_final(req); - mv_update_hash_req_ctx(ahash_request_ctx(req), 1, req->nbytes); return mv_handle_req(&req->base); } |