[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210608020735.225108-1-lijian_8010a29@163.com>
Date: Tue, 8 Jun 2021 10:07:35 +0800
From: lijian_8010a29@....com
To: jejb@...ux.ibm.com, martin.petersen@...cle.com,
ching2048@...ca.com.tw, lee.jones@...aro.org,
vaibhavgupta40@...il.com, gustavoars@...nel.org
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
lijian <lijian@...ong.com>
Subject: [PATCH] scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return'
From: lijian <lijian@...ong.com>
Removed unnecessary 'return'.
Signed-off-by: lijian <lijian@...ong.com>
---
drivers/scsi/arcmsr/arcmsr_hba.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index 930972cda38c..8e2c5758944e 100644
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -532,7 +532,6 @@ static void arcmsr_hbaC_flush_cache(struct AdapterControlBlock *pACB)
timeout,retry count down = %d \n", pACB->host->host_no, retry_count);
}
} while (retry_count != 0);
- return;
}
static void arcmsr_hbaD_flush_cache(struct AdapterControlBlock *pACB)
@@ -1973,7 +1972,6 @@ static void arcmsr_hbaC_stop_bgrb(struct AdapterControlBlock *pACB)
"arcmsr%d: wait 'stop adapter background rebuild' timeout\n"
, pACB->host->host_no);
}
- return;
}
static void arcmsr_hbaD_stop_bgrb(struct AdapterControlBlock *pACB)
@@ -4251,7 +4249,6 @@ static void arcmsr_hbaC_start_bgrb(struct AdapterControlBlock *pACB)
printk(KERN_NOTICE "arcmsr%d: wait 'start adapter background \
rebuild' timeout \n", pACB->host->host_no);
}
- return;
}
static void arcmsr_hbaD_start_bgrb(struct AdapterControlBlock *pACB)
@@ -4419,7 +4416,6 @@ static void arcmsr_enable_eoi_mode(struct AdapterControlBlock *acb)
case ACB_ADAPTER_TYPE_C:
return;
}
- return;
}
static void arcmsr_hardware_reset(struct AdapterControlBlock *acb)
@@ -4473,7 +4469,6 @@ static void arcmsr_hardware_reset(struct AdapterControlBlock *acb)
pci_write_config_byte(acb->pdev, i, value[i]);
}
msleep(1000);
- return;
}
static bool arcmsr_reset_in_progress(struct AdapterControlBlock *acb)
--
2.25.1
Powered by blists - more mailing lists