Fix small typo in the ethernet driver

SVN-Revision: 13230
This commit is contained in:
Florian Fainelli 2008-11-16 13:42:37 +00:00
parent 05ddc2a53c
commit 23aa6acff8

View file

@ -369,7 +369,7 @@ void r6040_free_txbufs(struct net_device *dev)
le32_to_cpu(lp->tx_insert_ptr->buf),
MAX_BUF_SIZE, PCI_DMA_TODEVICE);
dev_kfree_skb(lp->tx_insert_ptr->skb_ptr);
lp->rx_insert_ptr->skb_ptr = NULL;
lp->tx_insert_ptr->skb_ptr = NULL;
}
lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
}