* [PATCH] scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return'
@ 2021-06-08 2:07 lijian_8010a29
0 siblings, 0 replies; only message in thread
From: lijian_8010a29 @ 2021-06-08 2:07 UTC (permalink / raw)
To: jejb, martin.petersen, ching2048, lee.jones, vaibhavgupta40, gustavoars
Cc: linux-scsi, linux-kernel, lijian
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 --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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-08 6:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 2:07 [PATCH] scsi: arcmsr: arcmsr_hba: Removed unnecessary 'return' lijian_8010a29
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.