summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-01-19 02:49:06 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-01-19 02:49:06 +0000
commitc1c06a2e6ebb309b6764db20635410475c473053 (patch)
treee5a518a5fea49de8352ece713ddab652b3419e4b
parent3ef799589a6fb2dbaf3a57283bb2904e87f5e883 (diff)
no longer need to disable -Wtautological-compare and
-Wunneeded-internal-declaration when building drm with clang
-rw-r--r--sys/dev/pci/drm/include/linux/compiler.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h
index 89be6a71e7f..9500e29e2e1 100644
--- a/sys/dev/pci/drm/include/linux/compiler.h
+++ b/sys/dev/pci/drm/include/linux/compiler.h
@@ -35,8 +35,6 @@
/* The Linux code doesn't meet our usual standards! */
#ifdef __clang__
#pragma clang diagnostic ignored "-Winitializer-overrides"
-#pragma clang diagnostic ignored "-Wtautological-compare"
-#pragma clang diagnostic ignored "-Wunneeded-internal-declaration"
#pragma clang diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"