From: Thago Galesi Date: Mon, 17 Apr 2006 16:38:15 +0000 (+0100) Subject: [PATCH] Remove unnecessary kmalloc/kfree calls in mtdchar X-Git-Tag: v2.6.18-rc1~1105^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b802c0741103aa92251d536c115874d51f802ec8;p=pandora-kernel.git [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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed