netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: Arnaldo <acme@redhat.com>, netdev@vger.kernel.org
Cc: dccp@vger.kernel.org
Subject: [DCCP] [PATCH 1/1]: Whitespace / outdated documentation
Date: Tue, 18 Dec 2007 12:41:08 +0000	[thread overview]
Message-ID: <20071218124108.GA5968@gerrit.erg.abdn.ac.uk> (raw)

[CCID3]: Whitespace cleanups and outdated documentation

This removes outdated documentation which had been forgotten to be
removed (x_recv, rtt now appear twice, p was removed from rx_sock);
and removes new whitespace.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
---
 net/dccp/ccids/ccid3.c |    6 +++---
 net/dccp/ccids/ccid3.h |    3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)

--- a/net/dccp/ccids/ccid3.h
+++ b/net/dccp/ccids/ccid3.h
@@ -133,9 +133,6 @@ enum ccid3_hc_rx_states {
 
 /** struct ccid3_hc_rx_sock - CCID3 receiver half-connection socket
  *
- *  @ccid3hcrx_x_recv  -  Receiver estimate of send rate (RFC 3448 4.3)
- *  @ccid3hcrx_rtt  -  Receiver estimate of rtt (non-standard)
- *  @ccid3hcrx_p  -  Current loss event rate (RFC 3448 5.4)
  *  @ccid3hcrx_last_counter  -  Tracks window counter (RFC 4342, 8.1)
  *  @ccid3hcrx_state  -  Receiver state, one of %ccid3_hc_rx_states
  *  @ccid3hcrx_bytes_recv  -  Total sum of DCCP payload bytes
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -437,9 +437,9 @@ static void ccid3_hc_tx_packet_recv(stru
 		ccid3_hc_tx_set_state(sk, TFRC_SSTATE_FBACK);
 
 		if (hctx->ccid3hctx_t_rto == 0) {
- 			/*
+			/*
 			 * Initial feedback packet: Larger Initial Windows (4.2)
- 			 */
+			 */
 			hctx->ccid3hctx_x    = rfc3390_initial_rate(sk);
 			hctx->ccid3hctx_t_ld = now;
 
@@ -451,7 +451,7 @@ static void ccid3_hc_tx_packet_recv(stru
 			 * First feedback after nofeedback timer expiry (4.3)
 			 */
 			goto done_computing_x;
- 		}
+		}
 	}
 
 	/* Update sending rate (step 4 of [RFC 3448, 4.3]) */
-- 

             reply	other threads:[~2007-12-18 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 12:41 Gerrit Renker [this message]
2007-12-18 13:44 ` [DCCP] [PATCH 1/1]: Whitespace / outdated documentation Arnaldo Carvalho de Melo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071218124108.GA5968@gerrit.erg.abdn.ac.uk \
    --to=gerrit@erg.abdn.ac.uk \
    --cc=acme@redhat.com \
    --cc=dccp@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).