aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/net/pegasus.c
diff options
context:
space:
mode:
authorAl Viro <viro@www.linux.org.uk>2005-04-26 10:43:41 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-26 10:43:41 -0400
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 a02be795d63e..d976790312aa 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)
1388 if (netif_running(pegasus->net)) { 1388 if (netif_running(pegasus->net)) {
1389 pegasus->rx_urb->status = 0; 1389 pegasus->rx_urb->status = 0;
1390 pegasus->rx_urb->actual_length = 0; 1390 pegasus->rx_urb->actual_length = 0;
1391 read_bulk_callback(pegasus->rx_urb, 0); 1391 read_bulk_callback(pegasus->rx_urb, NULL);
1392 1392
1393 pegasus->intr_urb->status = 0; 1393 pegasus->intr_urb->status = 0;
1394 pegasus->intr_urb->actual_length = 0; 1394 pegasus->intr_urb->actual_length = 0;
1395 intr_callback(pegasus->intr_urb, 0); 1395 intr_callback(pegasus->intr_urb, NULL);
1396 1396
1397 queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check, 1397 queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check,
1398 CARRIER_CHECK_DELAY); 1398 CARRIER_CHECK_DELAY);