[Mesa-dev] [PATCH] mesa: more unused linux/version.h include
Emil Velikov
emil.l.velikov at gmail.com
Thu Mar 16 15:47:45 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
The header provides the LINUX_VERSION_CODE and KERNEL_VERSION macros.
With neither of which being used by any part of mesa.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/mesa/x86/common_x86.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index 1c8640514ab..5cf919fd59a 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -35,9 +35,6 @@
*/
/* XXX these includes should probably go into imports.h or glheader.h */
-#if defined(USE_SSE_ASM) && defined(__linux__)
-#include <linux/version.h>
-#endif
#if defined(USE_SSE_ASM) && defined(__FreeBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
--
2.11.1
More information about the mesa-dev
mailing list