]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/fib_frontend.c
[IPV4]: Compact some ifdefs in the fib code.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 7 Nov 2007 07:34:04 +0000 (23:34 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:11:41 +0000 (04:11 -0800)
commitc3e9a353d8fc64a82ab11a07e21902e25e1e96d1
tree222e2a21bcceeb22818543029682fc94feb70f9d
parent6a9a025086ac70f0f285365cbaf1df8643266b72
[IPV4]: Compact some ifdefs in the fib code.

There are places that check for CONFIG_IP_MULTIPLE_TABLES
twice in the same file, but the internals of these #ifdefs
can be merged.

As a side effect - remove one ifdef from inside a function.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c