aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Smart2017-04-21 16:04:53 -0700
committerChristoph Hellwig2017-04-24 09:25:48 +0200
commitafbb38fedaa25935b963b07cc10f72a25bb3acbb (patch)
tree6ed785d9ac3dc81d95f2b0c1787289366b7fe3ff
parenteafe89f556ef1fe1b07ab8c1b4ce453ca1da1e41 (diff)
Fix extra line print in rqpair debug print.
An extra blank line was being added the the rqpair printing. Remove the extra line feed. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
-rw-r--r--drivers/scsi/lpfc/lpfc_debugfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index 76857e2db509..55a8d8ffcfd4 100644
--- a/drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/drivers/scsi/lpfc/lpfc_debugfs.c
@@ -3128,8 +3128,6 @@ __lpfc_idiag_print_rqpair(struct lpfc_queue *qp, struct lpfc_queue *datqp,
datqp->queue_id, datqp->entry_count,
datqp->entry_size, datqp->host_index,
datqp->hba_index);
- len += snprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, "\n");
-
return len;
}