diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2005-11-11 16:06:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-11 16:06:16 -0800 |
commit | 1e7d3d90c95b32374057e454417b2f50440be20e (patch) | |
tree | cd12fac53642654beb67924a6bf37b86b4b54b07 /net/sctp/socket.c | |
parent | 23ec47a0889dabf4b9e7f8d52e848194734159ee (diff) | |
download | lwn-1e7d3d90c95b32374057e454417b2f50440be20e.tar.gz lwn-1e7d3d90c95b32374057e454417b2f50440be20e.zip |
[SCTP]: Remove timeouts[] array from sctp_endpoint.
The socket level timeout values are maintained in sctp_sock and
association level timeouts are in sctp_association. So there is
no need for ep->timeouts.
Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b529af5e6f2a..4d1b8d8904c4 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -1932,7 +1932,6 @@ static int sctp_setsockopt_autoclose(struct sock *sk, char __user *optval, if (copy_from_user(&sp->autoclose, optval, optlen)) return -EFAULT; - sp->ep->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; return 0; } |