Skip to contentSkip to conversation

remove sd_find_target

PATCH New Christoph Hellwig 1 participant 1 message Oct 25, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove sd_find_target

My removal of the global arrays in sd.c will break this function, but Ben promised to rewrite the code using it properly. Remove it now to get some more pressure on him :)

arch/ppc/platforms/pmac_setup.c +1 -1
@@ -406,7 +406,7 @@
 void __init
 find_boot_device(void)
 {
-#if defined(CONFIG_SCSI) && defined(CONFIG_BLK_DEV_SD)
+#if 0 /*defined(CONFIG_SCSI) && defined(CONFIG_BLK_DEV_SD)*/
 	if (boot_host != NULL) {
 		boot_dev = sd_find_target(boot_host, boot_target);
 		if (!kdev_same(boot_dev, NODEV))
drivers/scsi/sd.c +0 -43

49 lines not on this page · raw message

drivers/scsi/sd.h +0 -5
@@ -30,11 +30,6 @@
 } Scsi_Disk;
 
 extern int revalidate_scsidisk(kdev_t dev, int maxusage);
-
-/*
- * Used by pmac to find the device associated with a target.
- */
-extern kdev_t sd_find_target(void *host, int tgt);
 
 #define N_SD_MAJORS	8