[PATCH] vfree and kfree cleanup in drivers/
[deliverable/linux.git] / drivers / mtd / devices / mtdram.c
index bb713fed2f373c66fd13e8f29be3abbc733963bb..1443117fd8f4afb988becd36beb1d14a084c5646 100644 (file)
@@ -91,8 +91,7 @@ static void __exit cleanup_mtdram(void)
 {
        if (mtd_info) {
                del_mtd_device(mtd_info);
-               if (mtd_info->priv)
-                       vfree(mtd_info->priv);
+               vfree(mtd_info->priv);
                kfree(mtd_info);
        }
 }
This page took 0.03099 seconds and 5 git commands to generate.