Commit:     da98e0b5d4c1f88b7c9e63e8918783cd4905be2b
Parent:     95b21d7e9d099f1cffca08e40f292d6658a88b3c
Author:     Gerrit Renker <[EMAIL PROTECTED]>
AuthorDate: Sat Nov 24 22:08:27 2007 -0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 14:54:59 2008 -0800

    [CCID2]: Redundant debugging output
    This reduces the amount of redundant debugging messages:
     * pipe/cwnd are printed in both tx_send_packet() and tx_packet_sent().
       Both functions are called immediately after one another, so one 
occurrence is sufficient.
     * Since tx_packet_sent() prints pipe/cwnd already, the second printk for 
pipe is redundant.
     * In tx_packet_sent() the check_sanity function is called twice (at the 
begin and at the end).
    Signed-off-by: Gerrit Renker <[EMAIL PROTECTED]>
    Acked-by: Ian McDonald <[EMAIL PROTECTED]>
    Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/dccp/ccids/ccid2.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c
index 237007b..2d1b7e3 100644
--- a/net/dccp/ccids/ccid2.c
+++ b/net/dccp/ccids/ccid2.c
@@ -126,9 +126,6 @@ static int ccid2_hc_tx_send_packet(struct sock *sk, struct 
sk_buff *skb)
        struct ccid2_hc_tx_sock *hctx = ccid2_hc_tx_sk(sk);
-       ccid2_pr_debug("pipe=%d cwnd=%d\n", hctx->ccid2hctx_pipe,
-                      hctx->ccid2hctx_cwnd);
        if (hctx->ccid2hctx_pipe < hctx->ccid2hctx_cwnd) {
                /* OK we can send... make sure previous packet was sent off */
                if (!hctx->ccid2hctx_sendwait) {
@@ -239,8 +236,6 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int 
more, unsigned int len)
        struct ccid2_seq *next;
        u64 seq;
-       ccid2_hc_tx_check_sanity(hctx);
        hctx->ccid2hctx_sendwait = 0;
@@ -326,7 +321,6 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int 
more, unsigned int len)
-       ccid2_pr_debug("pipe=%d\n", hctx->ccid2hctx_pipe);
        ccid2_pr_debug("Sent: seq=%llu\n", (unsigned long long)seq);
        do {
                struct ccid2_seq *seqp = hctx->ccid2hctx_seqt;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to