mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
scsi: ipr: Remove redundant messages at adapter init time
Whenever multiple HRRQs are enabled, which is the default setting now, we end up seeing the following message logged prior to initialization of each HRRQ: Starting IOA initialization sequence This results in 16 of these messages on most adapters, which serves little purpose. Change to just log this once. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
7b3871fd17
commit
87adbe08b6
@ -8049,7 +8049,8 @@ static int ipr_ioafp_identify_hrrq(struct ipr_cmnd *ipr_cmd)
|
||||
|
||||
ENTER;
|
||||
ipr_cmd->job_step = ipr_ioafp_std_inquiry;
|
||||
dev_info(&ioa_cfg->pdev->dev, "Starting IOA initialization sequence.\n");
|
||||
if (ioa_cfg->identify_hrrq_index == 0)
|
||||
dev_info(&ioa_cfg->pdev->dev, "Starting IOA initialization sequence.\n");
|
||||
|
||||
if (ioa_cfg->identify_hrrq_index < ioa_cfg->hrrq_num) {
|
||||
hrrq = &ioa_cfg->hrrq[ioa_cfg->identify_hrrq_index];
|
||||
|
Loading…
Reference in New Issue
Block a user