usbnet: allow type check of devdbg arguments in non-debug build
authorSteve Glendinning <steve.glendinning@smsc.com>
Wed, 21 Jan 2009 20:35:43 +0000 (12:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jan 2009 20:35:43 +0000 (12:35 -0800)
commit0b491eee46012772cbf029450d123e933c2e7940
treebb24c555235635dec746f8cce810d85b02cdf491
parent748085fcbedbf7b0f38d95e178265d7b13360b44
usbnet: allow type check of devdbg arguments in non-debug build

Improve usbnet's devdbg to always type-check diagnostic arguments,
like dev_dbg (device.h).  This makes no change to the resulting size of
usbnet modules.

This patch also removes an #ifdef DEBUG directive from rndis_wlan so
it's devdbg statements are always type-checked at compile time.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/rndis_wlan.c
include/linux/usb/usbnet.h