Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 11378cd

Browse files
VillemoesNicholas Bellinger
authored andcommitted
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 <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
1 parent 59c816c commit 11378cd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/infiniband/ulp/isert/ib_isert.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ isert_post_recv(struct isert_conn *isert_conn, u32 count)
949949
isert_err("ib_post_recv() failed with ret: %d\n", ret);
950950
isert_conn->post_recv_buf_count -= count;
951951
} else {
952-
isert_dbg("isert_post_recv(): Posted %d RX buffers\n", count);
952+
isert_dbg("Posted %d RX buffers\n", count);
953953
isert_conn->conn_rx_desc_head = rx_head;
954954
}
955955
return ret;
@@ -1711,8 +1711,7 @@ isert_put_cmd(struct isert_cmd *isert_cmd, bool comp_err)
17111711
* associated cmd->se_cmd needs to be released.
17121712
*/
17131713
if (cmd->se_cmd.se_tfo != NULL) {
1714-
isert_dbg("Calling transport_generic_free_cmd from"
1715-
" isert_put_cmd for 0x%02x\n",
1714+
isert_dbg("Calling transport_generic_free_cmd for 0x%02x\n",
17161715
cmd->iscsi_opcode);
17171716
transport_generic_free_cmd(&cmd->se_cmd, 0);
17181717
break;
@@ -3138,7 +3137,7 @@ isert_accept_np(struct iscsi_np *np, struct iscsi_conn *conn)
31383137
spin_lock_bh(&np->np_thread_lock);
31393138
if (np->np_thread_state >= ISCSI_NP_THREAD_RESET) {
31403139
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",
31423141
np->np_thread_state);
31433142
/**
31443143
* No point in stalling here when np_thread

0 commit comments

Comments
 (0)