[PATCH] Remove check_region from arch/ppc/platforms/hdpu.c

From: Borislav Petkov
Date: Tue Sep 27 2005 - 17:53:55 EST


It looks as if this function is not called by anyone, so removing it
is perfectly safe. In addition,we get rid of one more call to check_region().

Signed-off-by: Borislav Petkov <petkov@xxxxxxxxxxxxxxx>


--- 2.6.14-rc2/arch/ppc/platforms/hdpu.c.orig 2005-09-27 19:08:51.000000000 +0200
+++ 2.6.14-rc2/arch/ppc/platforms/hdpu.c 2005-09-27 19:09:01.000000000 +0200
@@ -609,12 +609,6 @@ static void parse_bootinfo(unsigned long
}
}

#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
-static int hdpu_ide_check_region(ide_ioreg_t from, unsigned int extent)
-{
- return check_region(from, extent);
-}
-
static void
hdpu_ide_request_region(ide_ioreg_t from, unsigned int extent, const char *name)
{





___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/