]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4] fib_trie: macro cleanup
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 10 Aug 2007 22:22:58 +0000 (15:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:01 +0000 (16:48 -0700)
commit62cc5ca454c99192b98531dfcb2fae5e4f2e6ea3
tree03418252b556fa94eb0daad2d8fc2a59ad79ce78
parentb63875077931aa4b63db33de41c41f8dd7003e25
[IPV4] fib_trie: macro cleanup

This patch converts the messy macro for MASK_PFX to inline function
and expands TKEY_GET_MASK in the one place it is used.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c