summaryrefslogtreecommitdiff
path: root/cmd/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/disk.c')
-rw-r--r--cmd/disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/disk.c b/cmd/disk.c
index fcc4123127..92de3af8a5 100644
--- a/cmd/disk.c
+++ b/cmd/disk.c
@@ -13,7 +13,8 @@
int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
char *const argv[])
{
- int dev, part;
+ __maybe_unused int dev;
+ int part;
ulong addr = CONFIG_SYS_LOAD_ADDR;
ulong cnt;
disk_partition_t info;