Commit 7748fd33 authored by Duncan Sands's avatar Duncan Sands Committed by Greg Kroah-Hartman

[PATCH] USB speedtouch: kfree_skb -> dev_kfree_skb

Always use dev_kfree_skb.
parent 4fd5a114
...@@ -757,7 +757,7 @@ static void udsl_process_send (unsigned long data) ...@@ -757,7 +757,7 @@ static void udsl_process_send (unsigned long data)
if (vcc->pop) if (vcc->pop)
vcc->pop (vcc, skb); vcc->pop (vcc, skb);
else else
kfree_skb (skb); dev_kfree_skb (skb);
instance->current_skb = NULL; instance->current_skb = NULL;
if (vcc->stats) if (vcc->stats)
...@@ -780,7 +780,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc ...@@ -780,7 +780,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
if (vcc->pop) if (vcc->pop)
vcc->pop (vcc, skb); vcc->pop (vcc, skb);
else else
kfree_skb (skb); dev_kfree_skb (skb);
} }
spin_unlock_irq (&instance->sndqueue.lock); spin_unlock_irq (&instance->sndqueue.lock);
...@@ -791,7 +791,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc ...@@ -791,7 +791,7 @@ static void udsl_cancel_send (struct udsl_instance_data *instance, struct atm_vc
if (vcc->pop) if (vcc->pop)
vcc->pop (vcc, skb); vcc->pop (vcc, skb);
else else
kfree_skb (skb); dev_kfree_skb (skb);
} }
tasklet_enable (&instance->send_tasklet); tasklet_enable (&instance->send_tasklet);
dbg ("udsl_cancel_send done"); dbg ("udsl_cancel_send done");
...@@ -987,7 +987,7 @@ static void udsl_atm_close (struct atm_vcc *vcc) ...@@ -987,7 +987,7 @@ static void udsl_atm_close (struct atm_vcc *vcc)
tasklet_enable (&instance->receive_tasklet); tasklet_enable (&instance->receive_tasklet);
if (vcc_data->skb) if (vcc_data->skb)
kfree_skb (vcc_data->skb); dev_kfree_skb (vcc_data->skb);
vcc_data->skb = NULL; vcc_data->skb = NULL;
kfree (vcc_data); kfree (vcc_data);
...@@ -1219,7 +1219,7 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i ...@@ -1219,7 +1219,7 @@ static int udsl_usb_probe (struct usb_interface *intf, const struct usb_device_i
usb_free_urb (rcv->urb); usb_free_urb (rcv->urb);
if (rcv->skb) if (rcv->skb)
kfree_skb (rcv->skb); dev_kfree_skb (rcv->skb);
} }
kfree (instance); kfree (instance);
...@@ -1291,7 +1291,7 @@ static void udsl_usb_disconnect (struct usb_interface *intf) ...@@ -1291,7 +1291,7 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
struct udsl_receiver *rcv = &(instance->receivers [i]); struct udsl_receiver *rcv = &(instance->receivers [i]);
usb_free_urb (rcv->urb); usb_free_urb (rcv->urb);
kfree_skb (rcv->skb); dev_kfree_skb (rcv->skb);
} }
/* send finalize */ /* send finalize */
......
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