From 089f26d5e31b7bf42a9a8fefec08b30cd27f4b0e Mon Sep 17 00:00:00 2001
From: David Woodhouse <dwmw2@infradead.org>
Date: Tue, 25 Apr 2006 15:29:01 +0100
Subject: [PATCH] Don't include <linux/config.h> and <linux/linkage.h> from
 linux/socket.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
 include/linux/socket.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/socket.h b/include/linux/socket.h
index 9ab2ddd8022126..36140909464983 100644
--- a/include/linux/socket.h
+++ b/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		*/
-- 
GitLab