diff options
| author | Brian Norris <[email protected]> | 2013-03-28 21:28:56 -0700 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2013-08-05 18:58:08 +0100 |
| commit | b966a40a3854e1263b3528ef95bc9e6017e8e515 (patch) | |
| tree | dd59d948f14d36b433258101d99d627c70cd7f3a /tools/perf/scripts/python | |
| parent | bddcb5e7caa72890fcd1d6ee7803452f2295a407 (diff) | |
mtd: fsl_ifc_nand: remove incorrect kfree()
The struct fsl_ifc_mtd is allocated with devm_kzalloc, so its memory
is "managed" automatically by the kernel. That is, we do not need to
free it explicitly; it will be freed when the device is removed. And we
*certainly* shouldn't free it with a regular kfree().
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions