diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-03 17:50:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-03 17:50:45 -0500 |
commit | 507c9b1e0702db4fb6c25135019158d1201f4de7 (patch) | |
tree | b9843152e7bd4d89acc7c8b65fe92b9c7eaa7619 /net/ipv6/protocol.c | |
parent | 340e8dc1fb4032b6c8334c9bff20b2aec42ecfd8 (diff) |
ipv6: Various cleanups in ip6_route.c
1) x == NULL --> !x
2) x != NULL --> x
3) if() --> if ()
4) while() --> while ()
5) (x & BIT) == 0 --> !(x & BIT)
6) (x&BIT) --> (x & BIT)
7) x=y --> x = y
8) (BIT1|BIT2) --> (BIT1 | BIT2)
9) if ((x & BIT)) --> if (x & BIT)
10) proper argument and struct member alignment
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/protocol.c')
0 files changed, 0 insertions, 0 deletions