[PATCH] scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return'

From: lijian_8010a29
Date: Tue Jun 08 2021 - 02:57:38 EST


From: lijian <lijian@xxxxxxxxxx>

Removed unnecessary 'return'.

Signed-off-by: lijian <lijian@xxxxxxxxxx>
---
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