commit | 507c9b1e0702db4fb6c25135019158d1201f4de7 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Dec 03 17:50:45 2011 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 03 17:50:45 2011 -0500 |
tree | b9843152e7bd4d89acc7c8b65fe92b9c7eaa7619 | |
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>