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

[PKT_SCHED]: Kill fix_u32_bug ifdef tests in cls_u32.c

parent 9a518821
...@@ -102,14 +102,8 @@ static struct tc_u_common *u32_list; ...@@ -102,14 +102,8 @@ static struct tc_u_common *u32_list;
static __inline__ unsigned u32_hash_fold(u32 key, struct tc_u32_sel *sel, u8 fshift) static __inline__ unsigned u32_hash_fold(u32 key, struct tc_u32_sel *sel, u8 fshift)
{ {
#ifndef fix_u32_bug
unsigned h = (key & sel->hmask)>>fshift; unsigned h = (key & sel->hmask)>>fshift;
#else
unsigned h = (key & sel->hmask);
h ^= h>>16;
h ^= h>>8;
#endif
return h; return h;
} }
......
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