libosmocore/src
Sylvain Munaut 54187ba442 core/rbtree: remove redundant if()-condition in rb_erase()
See kernel commit 4b324126e0c6c3a5080ca3ec0981e8766ed6f1ee

----
Furthermore, notice that the initial checks:

        if (!node->rb_left)
                child = node->rb_right;
        else if (!node->rb_right)
                child = node->rb_left;
        else
        {
                ...
        }
guarantee that old->rb_right is set in the final else branch, therefore
we can omit checking that again.

Signed-off-by: Wolfram Strepp <wstrepp@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
----

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-12 23:23:35 +01:00
..
codec libosmocore: bump library interface version to '1' for new osmo_ names 2011-05-08 14:35:40 +02:00
gsm update LIBVERSION to reflect new API additions 2011-10-10 08:46:40 +02:00
vty vty: Provide documentation for all logging facilities 2011-10-03 23:20:15 +02:00
Makefile.am freebsd: Fixes for the compilation of libosmocore on FreeBSD 2011-11-09 11:56:56 +01:00
application.c doxygen: Add main page for all three libraries 2011-08-30 11:32:56 +02:00
backtrace.c freebsd: Provide a dummy backtrace implementation that does nothing 2011-11-09 12:18:55 +01:00
bits.c add functions for bit-reversal 2011-09-01 14:47:31 +02:00
bitvec.c some more doxygen work (include the notion of modules) 2011-08-17 17:14:11 +02:00
conv.c freebsd: Fixes for the compilation of libosmocore on FreeBSD 2011-11-09 11:56:56 +01:00
crc16.c crc: use namespace prefix osmo_* 2011-05-07 13:00:51 +02:00
crcXXgen.c.tpl core: Add generic CRC functions (templates expended to 8 16 32 64 bits) 2011-09-16 22:59:18 +02:00
gsmtap_util.c gsmtap: Fix doxygen doc for the recent additions 2011-09-26 13:23:19 +02:00
logging.c Changed logging of LAPD from DLLAPDM to DLLAPD 2011-10-10 08:38:58 +02:00
logging_syslog.c doxygen documentation for logging framework 2011-08-17 17:14:12 +02:00
msgb.c some more doxygen work (include the notion of modules) 2011-08-17 17:14:11 +02:00
msgfile.c msgfile: use namespace prefix osmo_* and use more descriptive names 2011-05-07 13:14:41 +02:00
panic.c doxygen: document panic.[ch] 2011-08-17 17:14:12 +02:00
plugin.c plugin: use namespace prefix osmo_* 2011-05-07 13:00:52 +02:00
rate_ctr.c doxygen: Add docs for rate_ctr 2011-08-17 17:14:12 +02:00
rbtree.c core/rbtree: remove redundant if()-condition in rb_erase() 2011-11-12 23:23:35 +01:00
select.c some more doxygen work (include the notion of modules) 2011-08-17 17:14:11 +02:00
serial.c core/serial: Fix typo 2011-09-28 10:55:22 +02:00
signal.c doxygen: Add documentation to signal.[ch] 2011-08-17 17:14:12 +02:00
socket.c freebsd: Fixes for the compilation of libosmocore on FreeBSD 2011-11-09 11:56:56 +01:00
statistics.c statistics: use namespace prefix osmo_counter* 2011-05-07 13:00:51 +02:00
talloc.c misc: Remove the sys/types.h include from various files 2011-04-18 16:57:04 +02:00
timer.c timer: Add compatibility header with timer helpers 2011-10-21 21:55:29 +02:00
utils.c core/utils: Add a symbol alias for a previous typo for compatibility 2011-11-11 23:06:55 +01:00
write_queue.c doxygen: Add 'write_queue' module 2011-08-17 17:14:12 +02:00