diff options
author | Hagen Paul Pfeifer <hagen@jauu.net> | 2011-03-04 12:45:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-08 00:51:14 +0100 |
commit | efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2 (patch) | |
tree | b2b630441b908802ccfa303fb35f07aab11a78a0 /net/sctp/input.c | |
parent | af_packet: struct socket declared/assigned but unused (diff) | |
download | linux-efea2c6b2efc1716b2c0cf257cc428d6cd3ed6e2.tar.xz 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/input.c')
-rw-r--r-- | net/sctp/input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index ea2192444ce6..826661be73e7 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -948,14 +948,11 @@ static struct sctp_association *__sctp_rcv_init_lookup(struct sk_buff *skb, union sctp_addr addr; union sctp_addr *paddr = &addr; struct sctphdr *sh = sctp_hdr(skb); - sctp_chunkhdr_t *ch; union sctp_params params; sctp_init_chunk_t *init; struct sctp_transport *transport; struct sctp_af *af; - ch = (sctp_chunkhdr_t *) skb->data; - /* * This code will NOT touch anything inside the chunk--it is * strictly READ-ONLY. |