diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-08-04 18:50:46 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-08-20 16:28:13 +0800 |
commit | 4dbb845ddedff87fc1289ad0e2d780a4a7918356 (patch) | |
tree | 2019b90c33a38259f93c4ada3167067ab026dd36 /drivers/crypto | |
parent | 33b58b01ac2b7aadbd5143c74b029aee0ce9ac33 (diff) |
drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data
devm_kfree and devm_iounmap should not have to be explicitly used.
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression x,d;
@@
x = devm_kzalloc(...)
...
?-devm_kfree(d,x);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions