aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/mtd_dataflash.c
diff options
context:
space:
mode:
authorThago Galesi <thiagogalesi@gmail.com>2006-04-17 17:38:15 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-17 17:38:15 +0100
commitb802c0741103aa92251d536c115874d51f802ec8 (patch)
treecf2cb539e68b224ad06b4a43350454b847543381 /drivers/mtd/devices/mtd_dataflash.c
parentcd2866faaa0efd9af18fe4a86d129cbd99240796 (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>
Diffstat (limited to 'drivers/mtd/devices/mtd_dataflash.c')
0 files changed, 0 insertions, 0 deletions