summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2013-02-16 19:12:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-18 10:51:36 -0800
commitbf7edd87f1c9618ac0bae712aa7a8047058a2731 (patch)
tree60bc6c173692e258fb1436e3852940bd99065ebd /drivers
parent2e38027588479421d244266f6edc0b4945546271 (diff)
staging: et131x: Remove assignment of skb->dev
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/et131x/et131x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index ebf5e4962878..3a733f7a0239 100644
--- 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);