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

Francois Romieu (romieu@fr.zoreil.com)
Wed, 4 Jun 2003 21:41:25 +0200


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/