projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efb94e
)
crypto: skcipher - remove redundant NULL check
author
Davidlohr Bueso
<dave@gnu.org>
Sat, 29 Jan 2011 04:09:43 +0000
(15:09 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 29 Jan 2011 04:09:43 +0000
(15:09 +1100)
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ablkcipher.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/ablkcipher.c
b/crypto/ablkcipher.c
index a854df2a5a4b860b223d6ad49f45255b0678e970..fdc67d38660bc08269697c50b3424fc85059e1e8 100644
(file)
--- a/
crypto/ablkcipher.c
+++ b/
crypto/ablkcipher.c
@@
-141,8
+141,7
@@
err:
if (walk->iv != req->info)
memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
- if (walk->iv_buffer)
- kfree(walk->iv_buffer);
+ kfree(walk->iv_buffer);
return err;
}