diff options
author | Hagen Paul Pfeifer <hagen@jauu.net> | 2011-03-04 11:45:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-07 15:51:14 -0800 |
commit | efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2 (patch) | |
tree | b2b630441b908802ccfa303fb35f07aab11a78a0 /net/sctp/socket.c | |
parent | e143038f4dda10a51985b9a3f9fb07d73a5eadfa (diff) | |
download | linux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.tar.gz linux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.tar.bz2 linux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.zip |
sctp: several declared/set but unused fixes
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b53b2ebbb198..3951a10605bc 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -2928,7 +2928,6 @@ static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char __user *optva unsigned int optlen) { struct sctp_sock *sp; - struct sctp_endpoint *ep; struct sctp_association *asoc = NULL; struct sctp_setpeerprim prim; struct sctp_chunk *chunk; @@ -2936,7 +2935,6 @@ static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char __user *optva int err; sp = sctp_sk(sk); - ep = sp->ep; if (!sctp_addip_enable) return -EPERM; |