projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21c0ca
)
ramips: Remove unnecessary skb_put
author
Gabor Juhos
<juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:08 +0000
(10:01 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:08 +0000
(10:01 +0000)
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24121
target/linux/ramips/files/drivers/net/ramips.c
patch
|
blob
|
history
diff --git
a/target/linux/ramips/files/drivers/net/ramips.c
b/target/linux/ramips/files/drivers/net/ramips.c
index fb6e6e84ef0eaa9fdfeab076d345b40f7a4d3f97..e297cbec758516b8f8f97d179cd7a297eb369bfe 100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ramips.c
+++ b/
target/linux/ramips/files/drivers/net/ramips.c
@@
-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;