diff --git a/net/socket.c b/net/socket.c index acfa1738663..6fe484122a4 100644 --- a/net/socket.c +++ b/net/socket.c @@ -170,15 +170,6 @@ static DEFINE_PER_CPU(int, sockets_in_use); * divide and look after the messy bits. */ -#define MAX_SOCK_ADDR 128 /* 108 for Unix domain - - 16 for IP, 16 for IPX, - 24 for IPv6, - about 80 for AX.25 - must be at least one bigger than - the AF_UNIX size (see net/unix/af_unix.c - :unix_mkname()). - */ - /** * move_addr_to_kernel - copy a socket address into kernel space * @uaddr: Address in user space