git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] kfree cleanup: drivers/mtd
[pandora-kernel.git]
/
drivers
/
mtd
/
maps
/
iq80310.c
diff --git
a/drivers/mtd/maps/iq80310.c
b/drivers/mtd/maps/iq80310.c
index
558d014
..
2e75774
100644
(file)
--- a/
drivers/mtd/maps/iq80310.c
+++ b/
drivers/mtd/maps/iq80310.c
@@
-103,8
+103,7
@@
static void __exit cleanup_iq80310(void)
if (mymtd) {
del_mtd_partitions(mymtd);
map_destroy(mymtd);
- if (parsed_parts)
- kfree(parsed_parts);
+ kfree(parsed_parts);
}
if (iq80310_map.virt)
iounmap((void *)iq80310_map.virt);