Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01893c82 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by David S. Miller
Browse files

net: Remove MAX_SOCK_ADDR constant



MAX_SOCK_ADDR is no longer used because commit 230b1839 "net: Use standard
structures for generic socket address structures." replaced
"char address[MAX_SOCK_ADDR];" with "struct sockaddr_storage address;".

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a6efc78
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -170,15 +170,6 @@ static DEFINE_PER_CPU(int, sockets_in_use);
 * divide and look after the messy bits.
 * 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
 *	move_addr_to_kernel	-	copy a socket address into kernel space
 *	@uaddr: Address in user space
 *	@uaddr: Address in user space