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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux