patch-2.3.35 linux/drivers/usb/usb.c
Next file: linux/drivers/usb/usb.h
Previous file: linux/drivers/usb/usb-serial.c
Back to the patch index
Back to the overall index
-  Lines: 24
 -  Date:
Tue Dec 28 10:24:11 1999
 -  Orig file: 
v2.3.34/linux/drivers/usb/usb.c
 -  Orig date: 
Mon Dec 20 18:48:22 1999
 
diff -u --recursive --new-file v2.3.34/linux/drivers/usb/usb.c linux/drivers/usb/usb.c
@@ -15,7 +15,7 @@
  * It should be considered a slave, with no callbacks. Callbacks
  * are evil.
  *
- * $Id: usb.c,v 1.37 1999/12/17 10:48:08 fliegl Exp $
+ * $Id: usb.c,v 1.39 1999/12/27 15:17:47 acher Exp $
  */
 
 #ifndef EXPORT_SYMTAB
@@ -36,12 +36,9 @@
 #define MODSTR "usbcore: "
 
 #ifdef USB_DEBUG
-	#define dbg printk
+	#define dbg(format, arg...) printk(format, ## arg)
 #else
-	#define dbg nix
-static void nix(const char *format, ...)
-{
-}
+	#define dbg(format, arg...)
 #endif
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)