mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:48:05 +02:00
ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24121 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1e52006d64
commit
e0af17401f
@ -176,7 +176,7 @@ ramips_alloc_dma(struct raeth_priv *re)
|
||||
|
||||
skb_reserve(new_skb, 2);
|
||||
re->rx[i].rxd1 = dma_map_single(NULL,
|
||||
skb_put(new_skb, 2),
|
||||
new_skb->data,
|
||||
MAX_RX_LENGTH + 2,
|
||||
DMA_FROM_DEVICE);
|
||||
re->rx[i].rxd2 |= RX_DMA_LSO;
|
||||
|
Loading…
Reference in New Issue
Block a user