diff options
author | Jon Mason <jdmason@kudzu.us> | 2012-07-09 14:09:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-10 23:24:56 -0700 |
commit | b6457acfb7e54e3e22f0524f207dd69e9681c7bb (patch) | |
tree | 429aaafae4b57dbaddf8a12bea98bd97981d6894 /drivers/net | |
parent | 5c8b73ca43dc6f419e02597d9942222b7987e74c (diff) | |
download | op-kernel-dev-b6457acfb7e54e3e22f0524f207dd69e9681c7bb.zip op-kernel-dev-b6457acfb7e54e3e22f0524f207dd69e9681c7bb.tar.gz |
enic: remove unnecessary setting of skb->dev
skb->dev is being unnecessarily set after calling eth_type_trans.
eth_type_trans already sets skb->dev to the proper value, thus making this
unnecessary.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Cc: Christian Benvenuti <benve@cisco.com>
Cc: Roopa Prabhu <roprabhu@cisco.com>
Cc: Neel Patel <neepatel@cisco.com>
Cc: Nishank Trivedi <nistrive@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/enic_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic_main.c b/drivers/net/ethernet/cisco/enic/enic_main.c index 8132c78..ad1468b 100644 --- a/drivers/net/ethernet/cisco/enic/enic_main.c +++ b/drivers/net/ethernet/cisco/enic/enic_main.c @@ -1300,8 +1300,6 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq, skb->ip_summed = CHECKSUM_COMPLETE; } - skb->dev = netdev; - if (vlan_stripped) __vlan_hwaccel_put_tag(skb, vlan_tci); |