diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:20 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | f1d86fd3b15c2af53964d948c72c9a0a63511927 (patch) | |
tree | cacd025a74d82201ab3f0bc218d7ac1d2d709682 /drivers | |
parent | ae9ffccdac12b21ad55401d8554b5d835c9c8f22 (diff) | |
download | u-boot-imx-f1d86fd3b15c2af53964d948c72c9a0a63511927.zip u-boot-imx-f1d86fd3b15c2af53964d948c72c9a0a63511927.tar.gz u-boot-imx-f1d86fd3b15c2af53964d948c72c9a0a63511927.tar.bz2 |
dm: sandbox: Drop the host_get_dev() function
This function is implemented by the legacy block functions now. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/sandbox.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/sandbox.c b/drivers/block/sandbox.c index 2b6a893..ac28f83 100644 --- a/drivers/block/sandbox.c +++ b/drivers/block/sandbox.c @@ -217,16 +217,6 @@ int host_get_dev_err(int devnum, struct blk_desc **blk_devp) return 0; } -struct blk_desc *host_get_dev(int dev) -{ - struct blk_desc *blk_dev; - - if (host_get_dev_err(dev, &blk_dev)) - return NULL; - - return blk_dev; -} - #ifdef CONFIG_BLK static const struct blk_ops sandbox_host_blk_ops = { .read = host_block_read, |