Skip to content

Commit

Permalink
firewire: net: remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Jun 14, 2009
1 parent 5a124d3 commit 156ce86
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/firewire/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,13 +628,8 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
skb->pkt_type = PACKET_MULTICAST;
#endif
} else {
if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) {
u64 a1, a2;

memcpy(&a1, eth->h_dest, sizeof(u64));
memcpy(&a2, net->dev_addr, sizeof(u64));
if (memcmp(eth->h_dest, net->dev_addr, net->addr_len))
skb->pkt_type = PACKET_OTHERHOST;
}
}
if (ntohs(eth->h_proto) >= 1536) {
protocol = eth->h_proto;
Expand Down

0 comments on commit 156ce86

Please sign in to comment.