summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-30 04:47:03 +0300
committerSimon Glass <sjg@chromium.org>2022-11-08 02:24:30 +0300
commitff1f0e414a6eafd76c6e8ec114bebf6df6c49d68 (patch)
tree5a134efc9bfbe1e22a73349f48a6c2524df9406d /cmd
parent88bd8ee106591eb900561715c44ad04441afc0e3 (diff)
downloadu-boot-ff1f0e414a6eafd76c6e8ec114bebf6df6c49d68.tar.xz
dm: sandbox: Drop non-BLK code from host implementation
This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/host.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/host.c b/cmd/host.c
index f0d989ac0f..f09ac8d439 100644
--- a/cmd/host.c
+++ b/cmd/host.c
@@ -108,11 +108,7 @@ static int do_host_info(struct cmd_tbl *cmdtp, int flag, int argc,
}
struct host_block_dev *host_dev;
-#ifdef CONFIG_BLK
host_dev = dev_get_plat(blk_dev->bdev);
-#else
- host_dev = blk_dev->priv;
-#endif
printf("%12lu %s\n", (unsigned long)blk_dev->lba,
host_dev->filename);
}