summaryrefslogtreecommitdiff
path: root/common/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/scsi.c')
-rw-r--r--common/scsi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/scsi.c b/common/scsi.c
index a336a10753..5b6531f01b 100644
--- a/common/scsi.c
+++ b/common/scsi.c
@@ -327,13 +327,6 @@ void scsi_init(void)
}
#endif
-#ifdef CONFIG_PARTITIONS
-struct blk_desc *scsi_get_dev(int dev)
-{
- return (dev < CONFIG_SYS_SCSI_MAX_DEVICE) ? &scsi_dev_desc[dev] : NULL;
-}
-#endif
-
/* copy src to dest, skipping leading and trailing blanks
* and null terminate the string
*/