[patch 2.6.27-rc8] drivers/net/usb/Makefile - shrink logspam

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Sunday, October 5, 2008 - 1:11 am

From: David Brownell <dbrownell@users.sourceforge.net>

When building with CONFIG_USB_DEBUG, don't create logspam from
the USB networking drivers.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

--- a/drivers/net/usb/Makefile
+++ b/drivers/net/usb/Makefile
@@ -19,6 +19,3 @@ obj-$(CONFIG_USB_NET_ZAURUS)	+= zaurus.o
 obj-$(CONFIG_USB_NET_MCS7830)	+= mcs7830.o
 obj-$(CONFIG_USB_USBNET)	+= usbnet.o
 
-ifeq ($(CONFIG_USB_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.27-rc8] drivers/net/usb/Makefile - shrink logspam, David Brownell, (Sun Oct 5, 1:11 am)