diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-09-14 18:32:20 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-09-14 18:32:20 +0000 |
commit | 68d0c9b61d12854113b76851f7d246b948b2d318 (patch) | |
tree | 3ba4569475b1f05887c40aaca75a28cdd2215442 | |
parent | e08a8123c530058ee03383a4030f105c17324962 (diff) | |
download | FreeBSD-src-68d0c9b61d12854113b76851f7d246b948b2d318.zip FreeBSD-src-68d0c9b61d12854113b76851f7d246b948b2d318.tar.gz |
Small cleanups. No functional change.
MFC after: 10 days
-rw-r--r-- | sys/netinet/sctputil.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index b8b0794..c7ef173 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -58,8 +58,7 @@ extern struct sctp_cc_functions sctp_cc_functions[]; extern struct sctp_ss_functions sctp_ss_functions[]; void -sctp_sblog(struct sockbuf *sb, - struct sctp_tcb *stcb, int from, int incr) +sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr) { struct sctp_cwnd_log sctp_clog; @@ -103,7 +102,6 @@ sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) sctp_clog.x.misc.log4); } - void rto_logging(struct sctp_nets *net, int from) { @@ -198,8 +196,7 @@ sctp_log_map(uint32_t map, uint32_t cum, uint32_t high, int from) } void -sctp_log_fr(uint32_t biggest_tsn, uint32_t biggest_new_tsn, uint32_t tsn, - int from) +sctp_log_fr(uint32_t biggest_tsn, uint32_t biggest_new_tsn, uint32_t tsn, int from) { struct sctp_cwnd_log sctp_clog; @@ -242,8 +239,7 @@ sctp_log_mb(struct mbuf *m, int from) } void -sctp_log_strm_del(struct sctp_queued_to_read *control, struct sctp_queued_to_read *poschk, - int from) +sctp_log_strm_del(struct sctp_queued_to_read *control, struct sctp_queued_to_read *poschk, int from) { struct sctp_cwnd_log sctp_clog; @@ -4215,7 +4211,6 @@ sctp_print_address(struct sockaddr *sa) #ifdef INET6 char ip6buf[INET6_ADDRSTRLEN]; - ip6buf[0] = 0; #endif switch (sa->sa_family) { |