HomeFreeBSD

rb_tree: silence unused function warnings

Description

rb_tree: silence unused function warnings

With DIAGNOSTIC set a kernel build generates warnings about the
defined-but-unused RB_RANK method. Don't set _RB_DIAGNOSTIC
automatically, to silence these warnings.

Reported by: mjguzik@gmail.com
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D36617

(cherry picked from commit 14696d81f163dacfcdaf42171556ebfd15416fb9)

Details

Provenance
dougmAuthored on Sep 18 2022, 8:34 AM
Reviewer
markj
Differential Revision
D36617: rb_tree: silence unused function warnings
Parents
rG6164e0292234: rb_tree: test rank balance
Branches
Unknown
Tags
Unknown