Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
156ce867
Commit
156ce867
authored
Jun 14, 2009
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewire: net: remove unused code
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
5a124d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/firewire/net.c
drivers/firewire/net.c
+1
-6
No files found.
drivers/firewire/net.c
View file @
156ce867
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment