Remove "ch" variable as it never be used. Signed-off-by: Shan Wei <shanwei@xxxxxxxxxxxxxx> --- 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 dc421d5..9b1dde5 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -942,14 +942,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. -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html