]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4/ipmr and ipv6/ip6mr: Convert int mroute_do_<foo> to bool
authorJoe Perches <joe@perches.com>
Sun, 25 Nov 2012 09:35:30 +0000 (09:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Nov 2012 21:34:17 +0000 (16:34 -0500)
commit791508c05ee522c30dd43a33b0270c165fbe4db9
tree72db3b0102af8c73005784ec4c566f5cc0502d09
parent8aab4e20e20cd4f911582dc69e575c7d71621640
ipv4/ipmr and ipv6/ip6mr: Convert int mroute_do_<foo> to bool

Save a few bytes per table by convert mroute_do_assert and
mroute_do_pim from int to bool.

Remove !! as the compiler does that when assigning int to bool.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c
net/ipv6/ip6mr.c