Commit 9727d04a authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] pegasus NULL noise removal

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b76be681
...@@ -1388,11 +1388,11 @@ static int pegasus_resume (struct usb_interface *intf) ...@@ -1388,11 +1388,11 @@ static int pegasus_resume (struct usb_interface *intf)
if (netif_running(pegasus->net)) { if (netif_running(pegasus->net)) {
pegasus->rx_urb->status = 0; pegasus->rx_urb->status = 0;
pegasus->rx_urb->actual_length = 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->status = 0;
pegasus->intr_urb->actual_length = 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, queue_delayed_work(pegasus_workqueue, &pegasus->carrier_check,
CARRIER_CHECK_DELAY); CARRIER_CHECK_DELAY);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment