aboutsummaryrefslogtreecommitdiff
path: root/cmd/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/host.c')
-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);
}