Skip to content

Commit

Permalink
scsi: cxgb4i: Clean up a debug printk
Browse files Browse the repository at this point in the history
The pr_fmt() at the top of the file already includes the __func__ so we can
remove the duplicative "cxgbi_conn_init_pdu:" from the string here.  Now it
all fits on one line as well.

Link: https://lore.kernel.org/r/20200713105100.GA251988@mwanda
Acked-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Dan Carpenter authored and Martin K. Petersen committed Jul 14, 2020
1 parent 92e8d03 commit 30f259b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/scsi/cxgbi/libcxgbi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2183,8 +2183,7 @@ int cxgbi_conn_init_pdu(struct iscsi_task *task, unsigned int offset,
}

log_debug(1 << CXGBI_DBG_ISCSI | 1 << CXGBI_DBG_PDU_TX,
"cxgbi_conn_init_pdu: tdata->total_count %u, "
"tdata->total_offset %u\n",
"data->total_count %u, tdata->total_offset %u\n",
tdata->total_count, tdata->total_offset);

expected_count = tdata->total_count;
Expand Down

0 comments on commit 30f259b

Please sign in to comment.