From: James Smart Date: Fri, 21 Apr 2017 23:04:53 +0000 (-0700) Subject: Fix extra line print in rqpair debug print. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=afbb38fedaa25935b963b07cc10f72a25bb3acbb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: James Smart Reviewed-by: Johannes Thumshirn --- 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; }