[PATCH] Remove unnecessary kmalloc/kfree calls in mtdchar
authorThago Galesi <thiagogalesi@gmail.com>
Mon, 17 Apr 2006 16:38:15 +0000 (17:38 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 17 Apr 2006 16:38:15 +0000 (17:38 +0100)
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>

No differences found