aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/common_x86.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-16 15:47:45 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:21 +0000
commit559ca99ce143bc20fadadb1df286680d60ed3ab2 (patch)
tree3251a21898ab33432d5d15a09b7592a4b95049a6 /src/mesa/x86/common_x86.c
parent84012262ea70435507d3b88ddbc0f621781ec275 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/x86/common_x86.c')
-rw-r--r--src/mesa/x86/common_x86.c3
1 files changed, 0 insertions, 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>