Revert "Expand __diagused to include the KTR kernel diagnostic option."
This reverts commit 55339af296
.
Induces warnings for kernels built with KTR but without debug.
Discussed with: scottl
This commit is contained in:
parent
8719e8a951
commit
d283601b80
@ -554,7 +554,7 @@ void _gone_in_dev(device_t dev, int major, const char *msg);
|
||||
#define gone_in(major, msg) __gone_ok(major, msg) _gone_in(major, msg)
|
||||
#define gone_in_dev(dev, major, msg) __gone_ok(major, msg) _gone_in_dev(dev, major, msg)
|
||||
|
||||
#if defined(INVARIANTS) || defined(WITNESS) || defined(KTR)
|
||||
#if defined(INVARIANTS) || defined(WITNESS)
|
||||
#define __diagused
|
||||
#else
|
||||
#define __diagused __unused
|
||||
|
Loading…
Reference in New Issue
Block a user