usbnet: remove noisy and hardly useful printk
authorChristian Samsel <Christian.Samsel@rwth-aachen.de>
Wed, 4 Aug 2010 22:14:36 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2010 20:21:24 +0000 (13:21 -0700)
With turned on hspa modem (Dell 5530 internal card) and activated usb auto
suspend, my system gets up 100 "usbnet_resume has delayed data" per
minute. I didnt noticed any pathological behaviour, so just drop
this message. if any objections, please at least change it to _DEBUG.

Signed-off-by: Christian Samsel <christian.samsel@rwth-aachen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/usb/usbnet.c

index 3b03794..7f62e2d 100644 (file)
@@ -1457,7 +1457,6 @@ int usbnet_resume (struct usb_interface *intf)
                spin_lock_irq(&dev->txq.lock);
                while ((res = usb_get_from_anchor(&dev->deferred))) {
 
-                       printk(KERN_INFO"%s has delayed data\n", __func__);
                        skb = (struct sk_buff *)res->context;
                        retval = usb_submit_urb(res, GFP_ATOMIC);
                        if (retval < 0) {