diff mbox series

scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return'

Message ID 20210608020735.225108-1-lijian_8010a29@163.com (mailing list archive)
State Rejected
Headers show
Series scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return' | expand

Commit Message

lijian_8010a29@163.com June 8, 2021, 2:07 a.m. UTC
From: lijian <lijian@yulong.com>

Removed unnecessary 'return'.

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/scsi/arcmsr/arcmsr_hba.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

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)