Commit c4d89c66 authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: Remove ugly arch ifdefs from generic code.

parent f286f97f
...@@ -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
......
...@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment