diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-14 05:46:57 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-14 08:26:29 -0400 |
commit | 156ce867a6725ea8a24b452469a6dc9f3fa6a161 (patch) | |
tree | 826d820ed5e2d2155747999ef9f0c87adcc258bc /drivers | |
parent | 5a124d382ea5c97be43c779e4f481455e0287654 (diff) |
firewire: net: remove unused code
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firewire/net.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index d83c54587a63..d67e8d957d21 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c | |||
@@ -628,13 +628,8 @@ static int fwnet_finish_incoming_packet(struct net_device *net, | |||
628 | skb->pkt_type = PACKET_MULTICAST; | 628 | skb->pkt_type = PACKET_MULTICAST; |
629 | #endif | 629 | #endif |
630 | } else { | 630 | } else { |
631 | if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) { | 631 | if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) |
632 | u64 a1, a2; | ||
633 | |||
634 | memcpy(&a1, eth->h_dest, sizeof(u64)); | ||
635 | memcpy(&a2, net->dev_addr, sizeof(u64)); | ||
636 | skb->pkt_type = PACKET_OTHERHOST; | 632 | skb->pkt_type = PACKET_OTHERHOST; |
637 | } | ||
638 | } | 633 | } |
639 | if (ntohs(eth->h_proto) >= 1536) { | 634 | if (ntohs(eth->h_proto) >= 1536) { |
640 | protocol = eth->h_proto; | 635 | protocol = eth->h_proto; |