[PATCH] 2.5.70 - double iounmap in octagon 5066 mtd driver

From: Francois Romieu (romieu@fr.zoreil.com)
Date: Wed Jun 04 2003 - 14:41:25 EST


iounmap() is done after label out_unmap anyway.

 drivers/mtd/maps/octagon-5066.c | 1 -
 1 files changed, 1 deletion(-)

diff -puN drivers/mtd/maps/octagon-5066.c~trivial-double-iounmap-octagon-5066 drivers/mtd/maps/octagon-5066.c
--- linux-2.5.70-1.1229.7.33-to-1.1330/drivers/mtd/maps/octagon-5066.c~trivial-double-iounmap-octagon-5066 Wed Jun 4 21:29:16 2003
+++ linux-2.5.70-1.1229.7.33-to-1.1330-fr/drivers/mtd/maps/octagon-5066.c Wed Jun 4 21:30:28 2003
@@ -247,7 +247,6 @@ int __init init_oct5066(void)
         }
         if (OctProbe() != 0) {
                 printk(KERN_NOTICE "5066: Octagon Probe Failed, is this an Octagon 5066 SBC?\n");
- iounmap((void *)iomapadr);
                 ret = -EAGAIN;
                 goto out_unmap;
         }

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:24 EST