2005-09-27 22:53:36

by Borislav Petkov

[permalink] [raw]
Subject: [PATCH] Remove check_region from arch/ppc/platforms/hdpu.c

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 <[email protected]>


--- 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