From: Wolfgang Denk Date: Thu, 25 Mar 2010 13:07:23 +0000 (+0100) Subject: cmd_usb.c: print debug messages only when DEBUG is defined X-Git-Tag: v2025.01-rc5-pxa1908~20376 X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=060f28532b09dd3d2c78423bdd809ac768a27629;p=u-boot.git cmd_usb.c: print debug messages only when DEBUG is defined Signed-off-by: Wolfgang Denk --- diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 9de515c323..6b5c582550 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -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); } }