Commit 060f2853 authored by Wolfgang Denk's avatar Wolfgang Denk

cmd_usb.c: print debug messages only when DEBUG is defined

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent a574cff1
......@@ -601,7 +601,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
ok++;
if (devno)
printf("\n");
printf("print_part of %x\n", devno);
debug("print_part of %x\n", devno);
print_part(stor_dev);
}
}
......@@ -610,7 +610,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
stor_dev = usb_stor_get_dev(devno);
if (stor_dev->type != DEV_TYPE_UNKNOWN) {
ok++;
printf("print_part of %x\n", devno);
debug("print_part of %x\n", devno);
print_part(stor_dev);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment