dm: ide: Drop the get_dev() function

This function is implemented by the legacy block functions now. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2016-05-01 11:36:14 -06:00
parent 57ebf67bad
commit 74001a2570
3 changed files with 1 additions and 10 deletions

View File

@@ -890,13 +890,6 @@ void ide_init(void)
WATCHDOG_RESET();
}
#ifdef CONFIG_PARTITIONS
struct blk_desc *ide_get_dev(int dev)
{
return (dev < CONFIG_SYS_IDE_MAXDEVICE) ? &ide_dev_desc[dev] : NULL;
}
#endif
/* We only need to swap data if we are running on a big endian cpu. */
#if defined(__LITTLE_ENDIAN)
__weak void ide_input_swap_data(int dev, ulong *sect_buf, int words)