projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e38027
)
staging: et131x: Remove assignment of skb->dev
author
Mark Einon
<mark.einon@gmail.com>
Sat, 16 Feb 2013 19:12:00 +0000
(19:12 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 18 Feb 2013 18:51:36 +0000
(10:51 -0800)
The call eth_type_trans() sets skb->dev to netdev, so there's
no needto set it before the call.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c
patch
|
blob
|
history
diff --git
a/drivers/staging/et131x/et131x.c
b/drivers/staging/et131x/et131x.c
index
ebf5e49
..
3a733f7
100644
(file)
--- a/
drivers/staging/et131x/et131x.c
+++ b/
drivers/staging/et131x/et131x.c
@@
-2730,7
+2730,6
@@
static struct rfd *nic_rx_pkts(struct et131x_adapter *adapter)
rx_local->fbr[ring_index]->virt[buff_index],
rfd->len);
- skb->dev = adapter->netdev;
skb->protocol = eth_type_trans(skb, adapter->netdev);
skb->ip_summed = CHECKSUM_NONE;
netif_rx_ni(skb);