diff options
author | tuexen <tuexen@FreeBSD.org> | 2010-09-15 23:40:36 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2010-09-15 23:40:36 +0000 |
commit | 3e9d0641ccd6b202217f9d2aa60f6019544ced4e (patch) | |
tree | b01df75772d041a9fa6594065ad3e89a4086a0ec /sys/netinet | |
parent | 790dcded4d97b3159e5d8054665dac9b6202a524 (diff) | |
download | FreeBSD-src-3e9d0641ccd6b202217f9d2aa60f6019544ced4e.zip FreeBSD-src-3e9d0641ccd6b202217f9d2aa60f6019544ced4e.tar.gz |
Remove unused variable/assignment.
MFC after: 3 weeks.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctputil.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index 543967a..888d3f8 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -5135,7 +5135,7 @@ sctp_sorecvmsg(struct socket *so, int my_len = 0; int cp_len = 0, error = 0; struct sctp_queued_to_read *control = NULL, *ctl = NULL, *nxt = NULL; - struct mbuf *m = NULL, *embuf = NULL; + struct mbuf *m = NULL; struct sctp_tcb *stcb = NULL; int wakeup_read_socket = 0; int freecnt_applied = 0; @@ -5731,7 +5731,6 @@ get_more_data: sctp_sblog(&so->so_rcv, control->do_not_ref_stcb ? NULL : stcb, SCTP_LOG_SBRESULT, 0); } - embuf = m; copied_so_far += cp_len; freed_so_far += cp_len; freed_so_far += MSIZE; @@ -5783,7 +5782,6 @@ get_more_data: atomic_subtract_int(&stcb->asoc.sb_cc, cp_len); } copied_so_far += cp_len; - embuf = m; freed_so_far += cp_len; freed_so_far += MSIZE; if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) { |