Doug Moore 9628f49377 RB_REMOVE invokes RB_REMOVE_COLOR either when child is red or child is
null. In the first case, RB_REMOVE_COLOR just changes the child to
black and returns. With this change, RB_REMOVE handles that case, and
drops the child argument to RB_REMOVE_COLOR, since that value is
always null.

RB_REMOVE_COLOR is changed to remove a couple of unneeded tests, and
to eliminate some deep indentation.

RB_ISRED is defined to combine a null check with a test for redness,
to replace that combination in several places.

Reviewed by:	markj
Tested by:	pho
Differential Revision:	https://reviews.freebsd.org/D25032
2020-05-30 01:48:12 +00:00
..
2020-05-26 14:10:53 +00:00
2020-04-24 01:27:25 +00:00
2020-05-28 21:19:44 +00:00
2020-05-28 09:52:28 +00:00
2020-04-14 18:57:00 +00:00
2020-05-23 17:51:06 +00:00
2020-04-23 09:37:22 +00:00
2020-05-21 01:55:35 +00:00
2020-05-29 08:30:35 +00:00