diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-10 08:57:13 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:26 -0400 |
commit | 0a4f23fbbff70c268b0f2f5e0b87301c132fb305 (patch) | |
tree | 7de3a6bef26eb360e47d77dcf99c2275d1475f40 /drivers/net/defxx.c | |
parent | c8fb7948dc1aeff0515b2912b564d4236f6c0ebd (diff) |
[HIPPI/FDDI]: Make {hippi,fddi}_type_trans set skb->dev
Now all the _type_trans routines are consistent in this regard.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/defxx.c')
-rw-r--r-- | drivers/net/defxx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/defxx.c b/drivers/net/defxx.c index 07d2731c1aa8..8d29fae1c71c 100644 --- a/drivers/net/defxx.c +++ b/drivers/net/defxx.c | |||
@@ -3096,8 +3096,6 @@ static void dfx_rcv_queue_process( | |||
3096 | 3096 | ||
3097 | skb_reserve(skb,3); /* adjust data field so that it points to FC byte */ | 3097 | skb_reserve(skb,3); /* adjust data field so that it points to FC byte */ |
3098 | skb_put(skb, pkt_len); /* pass up packet length, NOT including CRC */ | 3098 | skb_put(skb, pkt_len); /* pass up packet length, NOT including CRC */ |
3099 | skb->dev = bp->dev; /* pass up device pointer */ | ||
3100 | |||
3101 | skb->protocol = fddi_type_trans(skb, bp->dev); | 3099 | skb->protocol = fddi_type_trans(skb, bp->dev); |
3102 | bp->rcv_total_bytes += skb->len; | 3100 | bp->rcv_total_bytes += skb->len; |
3103 | netif_rx(skb); | 3101 | netif_rx(skb); |