diff options
author | David S. Miller <davem@davemloft.net> | 2005-08-09 19:36:29 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 15:33:26 -0700 |
commit | 86e65da9c1fc6fb421b9f796b597b3eced6b55ab (patch) | |
tree | 69ae9d0c30afe54cea3e4c6119791c1318c2198d /net/ethernet | |
parent | 0742fd53a3774781255bd1e471e7aa2e4a82d5f7 (diff) | |
download | kernel-common-86e65da9c1fc6fb421b9f796b597b3eced6b55ab.tar.gz kernel-common-86e65da9c1fc6fb421b9f796b597b3eced6b55ab.tar.bz2 kernel-common-86e65da9c1fc6fb421b9f796b597b3eced6b55ab.zip |
[NET]: Remove explicit initializations of skb->input_dev
Instead, set it in one place, namely the beginning of
netif_receive_skb().
Based upon suggestions from Jamal Hadi Salim.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
-rw-r--r-- | net/ethernet/eth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index f6dbfb99b14d..f444a2f2675f 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c @@ -163,7 +163,6 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) skb->mac.raw=skb->data; skb_pull(skb,ETH_HLEN); eth = eth_hdr(skb); - skb->input_dev = dev; if(*eth->h_dest&1) { |