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

login
register
mail settings
Submitter David Brownell
Date Oct. 5, 2008, 8:11 a.m.
Message ID <200810050111.12597.david-b@pacbell.net>
Download mbox | patch
Permalink /patch/2733/
State Accepted
Delegated to: Jeff Garzik
Headers show

Comments

David Brownell - Oct. 5, 2008, 8:11 a.m.
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>

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

Patch

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