Hi,
        this removes a warning message which only contains
data which is in any case returned to user space. This message
is especially annoying when polling with short timeouts, filling
up the log files and polluting the console. As agreed with
David Brownell.

/Brian

Signed-off-by: Brian Murphy <[EMAIL PROTECTED]>

Index: drivers/usb/core/devio.c
===================================================================
RCS file: /cvs/linux-kernel/drivers/usb/core/devio.c,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -r1.1 -r1.3
--- drivers/usb/core/devio.c    12 Feb 2005 08:52:24 -0000      1.1
+++ drivers/usb/core/devio.c    12 Feb 2005 10:08:29 -0000      1.3
@@ -660,11 +660,8 @@
                usb_lock_device(dev);
        }
        kfree(tbuf);
-       if (i < 0) {
-               dev_warn(&dev->dev, "usbfs: USBDEVFS_BULK failed "
-                        "ep 0x%x len %u ret %d\n", bulk.ep, bulk.len, i);
+       if (i < 0)
                return i;
-       }
        return len2;
 }
 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to