diff options
Diffstat (limited to 'net/socket.c')
| -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 |
