diff options
author | David S. Miller <davem@davemloft.net> | 2005-08-10 04:36:29 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-30 00:33:26 +0200 |
commit | 86e65da9c1fc6fb421b9f796b597b3eced6b55ab (patch) | |
tree | 69ae9d0c30afe54cea3e4c6119791c1318c2198d /include/net/x25device.h | |
parent | [IPV4]: possible cleanups (diff) | |
download | linux-86e65da9c1fc6fb421b9f796b597b3eced6b55ab.tar.xz linux-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 'include/net/x25device.h')
-rw-r--r-- | include/net/x25device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/x25device.h b/include/net/x25device.h index d45ae883bd1d..1a318374faef 100644 --- a/include/net/x25device.h +++ b/include/net/x25device.h @@ -8,7 +8,6 @@ static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) { skb->mac.raw = skb->data; - skb->input_dev = skb->dev = dev; skb->pkt_type = PACKET_HOST; return htons(ETH_P_X25); |