Commit a9478e38 authored by Denis Kirjanov's avatar Denis Kirjanov Committed by David S. Miller
Browse files

sundance: Use dev_kfree_skb_any() helper

Use dev_kfree_skb_any() helper to free the skb
Signed-off-by: default avatarDenis Kirjanov <>
Signed-off-by: default avatarDavid S. Miller <>
parent d91dc279
......@@ -1116,7 +1116,6 @@ reset_tx (struct net_device *dev)
void __iomem *ioaddr = np->base;
struct sk_buff *skb;
int i;
int irq = in_interrupt();
/* Reset tx logic, TxListPtr will be cleaned */
iowrite16 (TxDisable, ioaddr + MACCtrl1);
......@@ -1131,10 +1130,7 @@ reset_tx (struct net_device *dev)
skb->len, DMA_TO_DEVICE);
if (irq)
dev_kfree_skb_irq (skb);
dev_kfree_skb (skb);
np->tx_skbuff[i] = NULL;
Supports Markdown
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