git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac8ad30
)
crypto: caam - Remove unneeded 'ret' variable
author
Fabio Estevam
<fabio.estevam@freescale.com>
Wed, 12 Aug 2015 17:39:38 +0000
(14:39 -0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 13 Aug 2015 07:13:29 +0000
(15:13 +0800)
Variable 'ret' is only used for returning the value 0.
We can make it simpler and just return 0 instead.
The semantic patch that makes this change is available
in scripts/coccinelle/misc/returnvar.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c
patch
|
blob
|
history
diff --cc
drivers/crypto/caam/ctrl.c
Simple merge