Don't include <linux/config.h> and <linux/linkage.h> from linux/socket.h
David Woodhouse [Tue, 25 Apr 2006 14:29:01 +0000 (15:29 +0100)]
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

include/linux/socket.h

index 9ab2ddd..3614090 100644 (file)
@@ -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                */