projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a124d3
)
firewire: net: remove unused code
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 14 Jun 2009 09:46:57 +0000
(11:46 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 14 Jun 2009 12:26:29 +0000
(14:26 +0200)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/net.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/net.c
b/drivers/firewire/net.c
index d83c54587a63731b82e3662294b5f414485e7710..d67e8d957d21580eff006739ae054e8bf0975316 100644
(file)
--- a/
drivers/firewire/net.c
+++ b/
drivers/firewire/net.c
@@
-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;