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

Details

Provenance
dougmAuthored on Sep 18 2022, 8:34 AM
Reviewer
markj
Differential Revision
D36617: rb_tree: silence unused function warnings
Parents
rGc3707bd3d658: linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers
Branches
Unknown
Tags
Unknown