Эх сурвалжийг харах

Don't include <linux/config.h> and <linux/linkage.h> from linux/socket.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 19 жил өмнө
parent
commit
089f26d5e3

+ 0 - 2
include/linux/socket.h

@@ -18,8 +18,6 @@ struct __kernel_sockaddr_storage {
 
 #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
 
-#include <linux/config.h>		/* for CONFIG_COMPAT */
-#include <linux/linkage.h>
 #include <asm/socket.h>			/* arch-dependent defines	*/
 #include <linux/sockios.h>		/* the SIOCxxx I/O controls	*/
 #include <linux/uio.h>			/* iovec support		*/