[IPV4] fib_trie: fib_insert_node cleanup
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Sun, 13 Jan 2008 04:57:07 +0000 (20:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:54 +0000 (15:01 -0800)
commitfea86ad8123df0d49188cbc1dd2f48da6ae49d65
treeb1a9b991d0e5eddb264a3cc08f8e4e8647ccad0a
parent187b5188a78694fa6608fa1252d5197a7b3ab076
[IPV4] fib_trie: fib_insert_node cleanup

The only error from fib_insert_node is if memory allocation fails, so
instead of passing by reference, just use the convention of returning
NULL.

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c