mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 20:35:03 +01:00
The problem is that THUNDERBOLT_DEBUG triggers the use of some variables, but it is independent of INVARIANTS and the variables it uses were tagged with '__diagused'. Fix this by using '__maybe_unused' in those places. Fixes:1836330791("thunderbolt: make code -Wunused clean") Fixes:886164895f("amd64: complete thunderbolt KERNCONF integration") Sponsored by: The FreeBSD Foundation