aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_debugfs.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-04-21 16:04:53 -0700
committerChristoph Hellwig <hch@lst.de>2017-04-24 09:25:48 +0200
commitafbb38fedaa25935b963b07cc10f72a25bb3acbb (patch)
tree6ed785d9ac3dc81d95f2b0c1787289366b7fe3ff /drivers/scsi/lpfc/lpfc_debugfs.c
parentRemove NULL ptr check before kfree. (diff)
downloadlinux-dev-afbb38fedaa25935b963b07cc10f72a25bb3acbb.tar.xz
linux-dev-afbb38fedaa25935b963b07cc10f72a25bb3acbb.zip
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-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;
}