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/sm_make_chunk.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/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index b23428f3c0dd..de98665db524 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c @@ -3375,7 +3375,6 @@ struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc, struct sctp_fwdtsn_skip *skiplist) { struct sctp_chunk *retval = NULL; - struct sctp_fwdtsn_chunk *ftsn_chunk; struct sctp_fwdtsn_hdr ftsn_hdr; struct sctp_fwdtsn_skip skip; size_t hint; @@ -3388,8 +3387,6 @@ struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc, if (!retval) return NULL; - ftsn_chunk = (struct sctp_fwdtsn_chunk *)retval->subh.fwdtsn_hdr; - ftsn_hdr.new_cum_tsn = htonl(new_cum_tsn); retval->subh.fwdtsn_hdr = sctp_addto_chunk(retval, sizeof(ftsn_hdr), &ftsn_hdr); |