commit | b802c0741103aa92251d536c115874d51f802ec8 | [log] [tgz] |
---|---|---|
author | Thago Galesi <thiagogalesi@gmail.com> | Mon Apr 17 17:38:15 2006 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Mon Apr 17 17:38:15 2006 +0100 |
tree | cf2cb539e68b224ad06b4a43350454b847543381 | |
parent | cd2866faaa0efd9af18fe4a86d129cbd99240796 [diff] |
[PATCH] Remove unnecessary kmalloc/kfree calls in mtdchar This patch removes repeated calls to kmalloc / kfree in mtd_write / mtd_read functions, replacing them by a single kmalloc / kfree pair. Signed-off-by: Thiago Galesi <thiagogalesi@gmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>