diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-07-18 18:29:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-18 18:29:14 -0400 |
commit | 01893c82b4e6949f4e3a453c4faea34970359d76 (patch) | |
tree | c4f417552c70a0e5296e0e4d975ebcd94ea19912 /net | |
parent | 0a6efc78c0c22d60040da0dc98a0844e7c0d0647 (diff) |
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/socket.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/socket.c b/net/socket.c index acfa1738663d..6fe484122a44 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -170,15 +170,6 @@ static DEFINE_PER_CPU(int, sockets_in_use); | |||
170 | * divide and look after the messy bits. | 170 | * divide and look after the messy bits. |
171 | */ | 171 | */ |
172 | 172 | ||
173 | #define MAX_SOCK_ADDR 128 /* 108 for Unix domain - | ||
174 | 16 for IP, 16 for IPX, | ||
175 | 24 for IPv6, | ||
176 | about 80 for AX.25 | ||
177 | must be at least one bigger than | ||
178 | the AF_UNIX size (see net/unix/af_unix.c | ||
179 | :unix_mkname()). | ||
180 | */ | ||
181 | |||
182 | /** | 173 | /** |
183 | * move_addr_to_kernel - copy a socket address into kernel space | 174 | * move_addr_to_kernel - copy a socket address into kernel space |
184 | * @uaddr: Address in user space | 175 | * @uaddr: Address in user space |