public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Remove duplicate #undef SHOW_INFO inside drivers\usb\usb_ohci.c
@ 2008-04-02  5:34 Gururaja Hebbar K R
  2008-04-06 12:51 ` Markus Klotzbücher
  2008-04-18  4:14 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Gururaja Hebbar K R @ 2008-04-02  5:34 UTC (permalink / raw)
  To: u-boot

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@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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-18  4:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02  5:34 [U-Boot-Users] [PATCH] Remove duplicate #undef SHOW_INFO inside drivers\usb\usb_ohci.c Gururaja Hebbar K R
2008-04-06 12:51 ` Markus Klotzbücher
2008-04-18  4:14 ` Wolfgang Denk
2008-04-18  4:39   ` Gururaja Hebbar K R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox