Skip to content

Commit 91ddb6d

Browse files
Justin Teemartinkpetersen
authored andcommitted
scsi: lpfc: Remove unnecessary log message in queuecommand path
Message 9038 logs when LLDD receives SCSI_PROT_NORMAL when T10 DIF protection is configured. The event is not wrong, but the log message has not proven useful in debugging so it is removed. Signed-off-by: Justin Tee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent ea4044e commit 91ddb6d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/scsi/lpfc/lpfc_scsi.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5336,16 +5336,6 @@ lpfc_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *cmnd)
53365336
}
53375337
err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd);
53385338
} else {
5339-
if (vport->phba->cfg_enable_bg) {
5340-
lpfc_printf_vlog(vport,
5341-
KERN_INFO, LOG_SCSI_CMD,
5342-
"9038 BLKGRD: rcvd PROT_NORMAL cmd: "
5343-
"x%x reftag x%x cnt %u pt %x\n",
5344-
cmnd->cmnd[0],
5345-
scsi_prot_ref_tag(cmnd),
5346-
scsi_logical_block_count(cmnd),
5347-
(cmnd->cmnd[1]>>5));
5348-
}
53495339
err = lpfc_scsi_prep_dma_buf(phba, lpfc_cmd);
53505340
}
53515341

0 commit comments

Comments
 (0)