diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-05 17:17:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-08 01:41:56 -0500 |
commit | 11ac11999bae3c353f86b6e7dd0e43d4a0eada12 (patch) | |
tree | 7b534a34bb4a15fd7a8af7b8f2f8cf8072d236aa /net/rds | |
parent | 83d2b9ba1abca241df44a502b6da950a25856b5b (diff) |
net: rds: Remove repeated function names from debug output
The macro rdsdebug is defined as
pr_debug("%s(): " fmt, __func__ , ##args)
Hence it doesn't make sense to include the name of the calling
function explicitly in the format string passed to rdsdebug.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/ib_send.c | 4 | ||||
-rw-r--r-- | net/rds/iw_cm.c | 4 | ||||
-rw-r--r-- | net/rds/iw_send.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c index 1dde91e3dc70..bd3825d38abc 100644 --- a/net/rds/ib_send.c +++ b/net/rds/ib_send.c | |||
@@ -409,7 +409,7 @@ try_again: | |||
409 | posted = IB_GET_POST_CREDITS(oldval); | 409 | posted = IB_GET_POST_CREDITS(oldval); |
410 | avail = IB_GET_SEND_CREDITS(oldval); | 410 | avail = IB_GET_SEND_CREDITS(oldval); |
411 | 411 | ||
412 | rdsdebug("rds_ib_send_grab_credits(%u): credits=%u posted=%u\n", | 412 | rdsdebug("wanted=%u credits=%u posted=%u\n", |
413 | wanted, avail, posted); | 413 | wanted, avail, posted); |
414 | 414 | ||
415 | /* The last credit must be used to send a credit update. */ | 415 | /* The last credit must be used to send a credit update. */ |
@@ -453,7 +453,7 @@ void rds_ib_send_add_credits(struct rds_connection *conn, unsigned int credits) | |||
453 | if (credits == 0) | 453 | if (credits == 0) |
454 | return; | 454 | return; |
455 | 455 | ||
456 | rdsdebug("rds_ib_send_add_credits(%u): current=%u%s\n", | 456 | rdsdebug("credits=%u current=%u%s\n", |
457 | credits, | 457 | credits, |
458 | IB_GET_SEND_CREDITS(atomic_read(&ic->i_credits)), | 458 | IB_GET_SEND_CREDITS(atomic_read(&ic->i_credits)), |
459 | test_bit(RDS_LL_SEND_FULL, &conn->c_flags) ? ", ll_send_full" : ""); | 459 | test_bit(RDS_LL_SEND_FULL, &conn->c_flags) ? ", ll_send_full" : ""); |
diff --git a/net/rds/iw_cm.c b/net/rds/iw_cm.c index a91e1db62ee6..a6c2bea9f8f9 100644 --- a/net/rds/iw_cm.c +++ b/net/rds/iw_cm.c | |||
@@ -590,8 +590,8 @@ void rds_iw_conn_shutdown(struct rds_connection *conn) | |||
590 | /* Actually this may happen quite frequently, when | 590 | /* Actually this may happen quite frequently, when |
591 | * an outgoing connect raced with an incoming connect. | 591 | * an outgoing connect raced with an incoming connect. |
592 | */ | 592 | */ |
593 | rdsdebug("rds_iw_conn_shutdown: failed to disconnect," | 593 | rdsdebug("failed to disconnect, cm: %p err %d\n", |
594 | " cm: %p err %d\n", ic->i_cm_id, err); | 594 | ic->i_cm_id, err); |
595 | } | 595 | } |
596 | 596 | ||
597 | if (ic->i_cm_id->qp) { | 597 | if (ic->i_cm_id->qp) { |
diff --git a/net/rds/iw_send.c b/net/rds/iw_send.c index 9105ea03aec5..13834780a308 100644 --- a/net/rds/iw_send.c +++ b/net/rds/iw_send.c | |||
@@ -361,7 +361,7 @@ try_again: | |||
361 | posted = IB_GET_POST_CREDITS(oldval); | 361 | posted = IB_GET_POST_CREDITS(oldval); |
362 | avail = IB_GET_SEND_CREDITS(oldval); | 362 | avail = IB_GET_SEND_CREDITS(oldval); |
363 | 363 | ||
364 | rdsdebug("rds_iw_send_grab_credits(%u): credits=%u posted=%u\n", | 364 | rdsdebug("wanted=%u credits=%u posted=%u\n", |
365 | wanted, avail, posted); | 365 | wanted, avail, posted); |
366 | 366 | ||
367 | /* The last credit must be used to send a credit update. */ | 367 | /* The last credit must be used to send a credit update. */ |
@@ -405,7 +405,7 @@ void rds_iw_send_add_credits(struct rds_connection *conn, unsigned int credits) | |||
405 | if (credits == 0) | 405 | if (credits == 0) |
406 | return; | 406 | return; |
407 | 407 | ||
408 | rdsdebug("rds_iw_send_add_credits(%u): current=%u%s\n", | 408 | rdsdebug("credits=%u current=%u%s\n", |
409 | credits, | 409 | credits, |
410 | IB_GET_SEND_CREDITS(atomic_read(&ic->i_credits)), | 410 | IB_GET_SEND_CREDITS(atomic_read(&ic->i_credits)), |
411 | test_bit(RDS_LL_SEND_FULL, &conn->c_flags) ? ", ll_send_full" : ""); | 411 | test_bit(RDS_LL_SEND_FULL, &conn->c_flags) ? ", ll_send_full" : ""); |