diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-05-31 12:42:34 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-05-31 12:42:34 +0000 |
commit | b583c15e81181d18b48e746c6d40b097b8527259 (patch) | |
tree | 4948be546f661e51d8f791ec700696a0e4f6b5f5 /sys/netinet/sctputil.c | |
parent | 6d659fd65b557fd29a25107b928212a27732f1db (diff) | |
download | FreeBSD-src-b583c15e81181d18b48e746c6d40b097b8527259.zip FreeBSD-src-b583c15e81181d18b48e746c6d40b097b8527259.tar.gz |
MFC r283648:
Address some compiler warnings. No functional change.
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r-- | sys/netinet/sctputil.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index a30a942..f73e14d 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -1449,7 +1449,7 @@ sctp_timeout_handler(void *t) struct socket *so; #endif - int did_output, type; + int did_output; tmr = (struct sctp_timer *)t; inp = (struct sctp_inpcb *)tmr->ep; @@ -1488,7 +1488,6 @@ sctp_timeout_handler(void *t) } /* if this is an iterator timeout, get the struct and clear inp */ tmr->stopped_from = 0xa003; - type = tmr->type; if (inp) { SCTP_INP_INCR_REF(inp); if ((inp->sctp_socket == NULL) && @@ -1873,7 +1872,7 @@ out_decr: } out_no_decr: SCTPDBG(SCTP_DEBUG_TIMER1, "Timer now complete (type %d)\n", - type); + tmr->type); CURVNET_RESTORE(); } |