[U-Boot-Users] [PATCH] Remove duplicate #undef SHOW_INFO inside drivers\usb\usb_ohci.c

Gururaja Hebbar K R gururajakr at sanyo.co.in
Wed Apr 2 07:34:43 CEST 2008


Hi,
 
In drivers\usb\usb_ohci.c file, SHOW_INFO is undef at 2 locations. @line
77 and @line 112. Below patch removes them for code size savings.
 
comments welcome.
 
Thanks in advance
 
Signed-off-by: gururaja hebbar <gururajakr at sanyo.co.in>
 
--- usb_orig.c 2007-12-06 01:21:19.000000000 -0800
+++ usb_ohci.c 2008-04-02 14:06:23.937500000 -0700
@@ -109,7 +109,6 @@ static struct pci_device_id ohci_pci_ids
 #define dbg(format, arg...) do {} while(0)
 #endif /* DEBUG */
 #define err(format, arg...) printf("ERROR: " format "\n", ## arg)
-#undef SHOW_INFO
 #ifdef SHOW_INFO
 #define info(format, arg...) printf("INFO: " format "\n", ## arg)
 #else
 

Regards
Gururaja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080402/08ece611/attachment.htm 


More information about the U-Boot mailing list