diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-05 19:09:05 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-06 01:45:41 -0500 |
commit | 11378cdbb69521530f69072a987f7f1280747c1a (patch) | |
tree | 5bd11b7401dde2bb6cdbe55febdf0a7859877954 /drivers/infiniband | |
parent | 59c816c1f24df0204e01851431d3bab3eb76719c (diff) |
iser-target: Remove duplicate function names
The macro isert_dbg already ensures that __func__ is part of the
output, so there's no reason to duplicate the function name in the
format string itself.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 1d31ffb5d789..da8c860e71c1 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c | |||
@@ -949,7 +949,7 @@ isert_post_recv(struct isert_conn *isert_conn, u32 count) | |||
949 | isert_err("ib_post_recv() failed with ret: %d\n", ret); | 949 | isert_err("ib_post_recv() failed with ret: %d\n", ret); |
950 | isert_conn->post_recv_buf_count -= count; | 950 | isert_conn->post_recv_buf_count -= count; |
951 | } else { | 951 | } else { |
952 | isert_dbg("isert_post_recv(): Posted %d RX buffers\n", count); | 952 | isert_dbg("Posted %d RX buffers\n", count); |
953 | isert_conn->conn_rx_desc_head = rx_head; | 953 | isert_conn->conn_rx_desc_head = rx_head; |
954 | } | 954 | } |
955 | return ret; | 955 | return ret; |
@@ -1711,8 +1711,7 @@ isert_put_cmd(struct isert_cmd *isert_cmd, bool comp_err) | |||
1711 | * associated cmd->se_cmd needs to be released. | 1711 | * associated cmd->se_cmd needs to be released. |
1712 | */ | 1712 | */ |
1713 | if (cmd->se_cmd.se_tfo != NULL) { | 1713 | if (cmd->se_cmd.se_tfo != NULL) { |
1714 | isert_dbg("Calling transport_generic_free_cmd from" | 1714 | isert_dbg("Calling transport_generic_free_cmd for 0x%02x\n", |
1715 | " isert_put_cmd for 0x%02x\n", | ||
1716 | cmd->iscsi_opcode); | 1715 | cmd->iscsi_opcode); |
1717 | transport_generic_free_cmd(&cmd->se_cmd, 0); | 1716 | transport_generic_free_cmd(&cmd->se_cmd, 0); |
1718 | break; | 1717 | break; |
@@ -3138,7 +3137,7 @@ accept_wait: | |||
3138 | spin_lock_bh(&np->np_thread_lock); | 3137 | spin_lock_bh(&np->np_thread_lock); |
3139 | if (np->np_thread_state >= ISCSI_NP_THREAD_RESET) { | 3138 | if (np->np_thread_state >= ISCSI_NP_THREAD_RESET) { |
3140 | spin_unlock_bh(&np->np_thread_lock); | 3139 | spin_unlock_bh(&np->np_thread_lock); |
3141 | isert_dbg("np_thread_state %d for isert_accept_np\n", | 3140 | isert_dbg("np_thread_state %d\n", |
3142 | np->np_thread_state); | 3141 | np->np_thread_state); |
3143 | /** | 3142 | /** |
3144 | * No point in stalling here when np_thread | 3143 | * No point in stalling here when np_thread |