Mesa (master): mesa: more unused linux/version.h include

Emil Velikov evelikov at kemper.freedesktop.org
Wed Mar 22 16:59:31 UTC 2017


Module: Mesa
Branch: master
Commit: 559ca99ce143bc20fadadb1df286680d60ed3ab2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=559ca99ce143bc20fadadb1df286680d60ed3ab2

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 16 15:47:45 2017 +0000

mesa: more unused linux/version.h include

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 1c8640514a..5cf919fd59 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>




More information about the mesa-commit mailing list