From: Al Viro Date: Tue, 26 Apr 2005 14:43:41 +0000 (-0700) Subject: [PATCH] pegasus NULL noise removal X-Git-Tag: v2.6.12-rc4~210 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9727d04aa6d58e131128b4178e742c423480d476;p=linux-2.6 [PATCH] pegasus NULL noise removal Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c index a02be795d6..d976790312 100644 --- a/drivers/usb/net/pegasus.c +++ b/drivers/usb/net/pegasus.c @@ -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);