aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/net/pegasus.c
diff options
context:
space:
mode:
authorAl Viro <viro@www.linux.org.uk>2005-04-26 07:43:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-26 07:43:41 -0700
commit9727d04aa6d58e131128b4178e742c423480d476 (patch)
tree45e8674d55df35301117862b513d54eca5af3407 /drivers/usb/net/pegasus.c
parentb76be681f8b296c00f707220b9891934d5d74778 (diff)
[PATCH] pegasus NULL noise removal
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/net/pegasus.c')
-rw-r--r--drivers/usb/net/pegasus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c
index a02be795d63..d976790312a 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);