mtd/drivers/mtd/devices mtdram.c,1.37,1.38
gleixner at infradead.org
gleixner at infradead.org
Sun Nov 6 05:25:45 EST 2005
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv21927/devices
Modified Files:
mtdram.c
Log Message:
Upstream sync. vfree/kfree clenaup
Index: mtdram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/mtdram.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- mtdram.c 21 Apr 2005 03:42:11 -0000 1.37
+++ mtdram.c 6 Nov 2005 10:25:42 -0000 1.38
@@ -89,8 +89,7 @@
{
if (mtd_info) {
del_mtd_device(mtd_info);
- if (mtd_info->priv)
- vfree(mtd_info->priv);
+ vfree(mtd_info->priv);
kfree(mtd_info);
}
}
More information about the linux-mtd-cvs
mailing list