aboutsummaryrefslogtreecommitdiff
path: root/net/sched/em_u32.c
diff options
context:
space:
mode:
authorGravatar Eric Dumazet <eric.dumazet@gmail.com> 2011-01-19 19:26:56 +0000
committerGravatar David S. Miller <davem@davemloft.net> 2011-01-19 23:31:12 -0800
commitcc7ec456f82da7f89a5b376e613b3ac4311b3e9a (patch)
tree534729db08c10f40c090261cdc191dd2303dfc5c /net/sched/em_u32.c
parentaf_unix: coding style: remove one level of indentation in unix_shutdown() (diff)
downloadlinux-cc7ec456f82da7f89a5b376e613b3ac4311b3e9a.tar.gz
linux-cc7ec456f82da7f89a5b376e613b3ac4311b3e9a.tar.bz2
linux-cc7ec456f82da7f89a5b376e613b3ac4311b3e9a.zip
net_sched: cleanups
Cleanup net/sched code to current CodingStyle and practices. Reduce inline abuse Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_u32.c')
-rw-r--r--net/sched/em_u32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_u32.c b/net/sched/em_u32.c
index 953f1479f7da..797bdb88c010 100644
--- a/net/sched/em_u32.c
+++ b/net/sched/em_u32.c
@@ -35,7 +35,7 @@ static int em_u32_match(struct sk_buff *skb, struct tcf_ematch *em,
if (!tcf_valid_offset(skb, ptr, sizeof(u32)))
return 0;
- return !(((*(__be32*) ptr) ^ key->val) & key->mask);
+ return !(((*(__be32 *) ptr) ^ key->val) & key->mask);
}
static struct tcf_ematch_ops em_u32_ops = {