aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/f_phonet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_phonet.c b/drivers/usb/gadget/f_phonet.c
index c1abeb89b413..54451ee02298 100644
--- a/drivers/usb/gadget/f_phonet.c
+++ b/drivers/usb/gadget/f_phonet.c
@@ -255,7 +255,7 @@ out_unlock:
255 spin_unlock_irqrestore(&port->lock, flags); 255 spin_unlock_irqrestore(&port->lock, flags);
256out: 256out:
257 if (unlikely(skb)) { 257 if (unlikely(skb)) {
258 dev_kfree_skb_any(skb); 258 dev_kfree_skb(skb);
259 dev->stats.tx_dropped++; 259 dev->stats.tx_dropped++;
260 } 260 }
261 return 0; 261 return 0;