[PATCH] pegasus NULL noise removal
authorAl Viro <viro@www.linux.org.uk>
Tue, 26 Apr 2005 14:43:41 +0000 (07:43 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 26 Apr 2005 14:43:41 +0000 (07:43 -0700)
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/net/pegasus.c

index a02be795d63e7ab898aab82fe985c3969b86aaf4..d976790312aaeb1f6f2a319aa211cc23d3ab6469 100644 (file)
@@ -1388,11 +1388,11 @@ static int pegasus_resume (struct usb_interface *intf)
        if (netif_running(pegasus->net)) {
                pegasus->rx_urb->status = 0;
                pegasus->rx_urb->actual_length = 0;
-               read_bulk_callback(pegasus->rx_urb, 0);
+               read_bulk_callback(pegasus->rx_urb, NULL);
 
                pegasus->intr_urb->status = 0;
                pegasus->intr_urb->actual_length = 0;
-               intr_callback(pegasus->intr_urb, 0);
+               intr_callback(pegasus->intr_urb, NULL);
 
                queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check,
                                        CARRIER_CHECK_DELAY);