diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-08-04 16:50:46 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-08-20 08:28:13 (GMT) |
commit | 4dbb845ddedff87fc1289ad0e2d780a4a7918356 (patch) | |
tree | 2019b90c33a38259f93c4ada3167067ab026dd36 /drivers/crypto | |
parent | 33b58b01ac2b7aadbd5143c74b029aee0ce9ac33 (diff) | |
download | linux-fsl-qoriq-4dbb845ddedff87fc1289ad0e2d780a4a7918356.tar.xz |
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