projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8401226
)
mesa: more unused linux/version.h include
author
Emil Velikov
<emil.velikov@collabora.com>
Thu, 16 Mar 2017 15:47:45 +0000
(15:47 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:21 +0000
(16:55 +0000)
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@collabora.com>
src/mesa/x86/common_x86.c
patch
|
blob
|
history
diff --git
a/src/mesa/x86/common_x86.c
b/src/mesa/x86/common_x86.c
index 1c8640514ab64563f140cda9a83a1958e90c8ab9..5cf919fd59a61329716c939b4ef9e092e0cb7e83 100644
(file)
--- 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>