cmd_usb.c: print debug messages only when DEBUG is defined
PATCH 1/1 cmd_usb.c: print debug messages only when DEBUG is defined
Signed-off-by Wolfgang Denk <[email protected]>
--- common/cmd_usb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
common/cmd_usb.c +2 -2
@@ -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); } }
Signature · 1 line
1.6.6.1
Wolfgang Denk
AppliedPATCH 1/1 cmd_usb.c: print debug messages only when DEBUG is defined
Quoted 4 lines · In message <[email protected]> you wrote:
Signed-off-by Wolfgang Denk <[email protected]>--- common/cmd_usb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Applied.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Speed of a tortoise breaking the sound barrier = 1 Machturtle