summaryrefslogtreecommitdiff
path: root/drivers/scsi/cxgbi/libcxgbi.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-07-13 13:51:00 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-14 06:19:06 +0300
commit30f259b4886a0d0121e03516bbff6f057a52a0b2 (patch)
tree3717d00629b5fe4da9881ff9b7fd224cd6648d4b /drivers/scsi/cxgbi/libcxgbi.c
parent92e8d0323a5140c3e4a0e7098d3a5f43e2da87e8 (diff)
downloadlinux-30f259b4886a0d0121e03516bbff6f057a52a0b2.tar.xz
scsi: cxgb4i: Clean up a debug printk
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>
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.c')
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
index a6119d9daedf..4c555844b7eb 100644
--- a/drivers/scsi/cxgbi/libcxgbi.c
+++ b/drivers/scsi/cxgbi/libcxgbi.c
@@ -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;