Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
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
debian Revert various debian related changes 2011-07-16 11:11:31 +02:00
doc Integrate doxygen documentation building into autoconf/automake process 2011-08-17 19:33:06 +02:00
include core/rbtree: add const qualifier to some functions 2011-11-12 23:23:35 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src core/rbtree: remove redundant if()-condition in rb_erase() 2011-11-12 23:23:35 +01:00
tests tests: add new torture test for timer infrastructure 2011-10-17 13:25:29 +02:00
utils Added autoconf option for utilities and embedded 2011-09-02 09:10:37 +02:00
.gitignore update .gitignore (crc*gen.[ch], some autotools stuff) 2011-10-10 09:20:19 +02:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in Auto-generate the version information of Doxygen documentation 2011-08-17 19:22:12 +02:00
Doxyfile.core.in consistent Doxyfile naming 2011-08-20 17:39:58 +02:00
Doxyfile.gsm.in Auto-generate the version information of Doxygen documentation 2011-08-17 19:22:12 +02:00
Doxyfile.vty.in Auto-generate the version information of Doxygen documentation 2011-08-17 19:22:12 +02:00
Makefile.am build: Remove docdir, don't comment it 2011-09-02 20:23:42 +02:00
configure.ac freebsd: Fixes for the compilation of libosmocore on FreeBSD 2011-11-09 11:56:56 +01:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in add missing automake / autoconf files 2010-02-20 21:09:24 +01:00
libosmogsm.pc.in This patch moves the GSM-specific functions to the new library 2011-03-23 18:08:08 +01:00
libosmovty.pc.in Add pkgconfig for libosmovty 2010-05-25 22:28:40 +02:00