[IPV4]: FIB Trie cleanups.
authorOlof Johansson <olof@lixom.net>
Wed, 10 Aug 2005 03:24:39 +0000 (20:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:53:52 +0000 (15:53 -0700)
commit91b9a277fc4d207249e459a455abf804ebb5499d
treea9e150feeec7788e59a9585e935189325a32e043
parent7663f18807805f02608457af8e2f59eee5d910fd
[IPV4]: FIB Trie cleanups.

Below is a patch that cleans up some of this, supposedly without
changing any behaviour:

* Whitespace cleanups
* Introduce DBG()
* BUG_ON() instead of if () { BUG(); }
* Remove some of the deep nesting to make the code flow more
  comprehensible
* Some mask operations were simplified

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c