From c1c06a2e6ebb309b6764db20635410475c473053 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 19 Jan 2022 02:49:06 +0000 Subject: no longer need to disable -Wtautological-compare and -Wunneeded-internal-declaration when building drm with clang --- sys/dev/pci/drm/include/linux/compiler.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys') 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" -- cgit v1.2.3