Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c4d89c66
Commit
c4d89c66
authored
Apr 14, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKT_SCHED]: Remove ugly arch ifdefs from generic code.
parent
f286f97f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
net/sched/cls_rsvp.h
net/sched/cls_rsvp.h
+0
-5
net/sched/cls_u32.c
net/sched/cls_u32.c
+0
-5
No files found.
net/sched/cls_rsvp.h
View file @
c4d89c66
...
@@ -149,11 +149,6 @@ static int rsvp_classify(struct sk_buff *skb, struct tcf_proto *tp,
...
@@ -149,11 +149,6 @@ static int rsvp_classify(struct sk_buff *skb, struct tcf_proto *tp,
struct
iphdr
*
nhptr
=
skb
->
nh
.
iph
;
struct
iphdr
*
nhptr
=
skb
->
nh
.
iph
;
#endif
#endif
#if !defined( __i386__) && !defined(__mc68000__)
if
((
unsigned
long
)
nhptr
&
3
)
return
-
1
;
#endif
restart:
restart:
#if RSVP_DST_LEN == 4
#if RSVP_DST_LEN == 4
...
...
net/sched/cls_u32.c
View file @
c4d89c66
...
@@ -112,11 +112,6 @@ static int u32_classify(struct sk_buff *skb, struct tcf_proto *tp, struct tcf_re
...
@@ -112,11 +112,6 @@ static int u32_classify(struct sk_buff *skb, struct tcf_proto *tp, struct tcf_re
int
sel
=
0
;
int
sel
=
0
;
int
i
;
int
i
;
#if !defined(__i386__) && !defined(__mc68000__)
if
((
unsigned
long
)
ptr
&
3
)
return
-
1
;
#endif
next_ht:
next_ht:
n
=
ht
->
ht
[
sel
];
n
=
ht
->
ht
[
sel
];
...
...
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