public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: arcmsr: Remove the superfluous break
@ 2020-09-18  9:32 Jing Xiangfeng
  2020-09-18 14:56 ` Gustavo A. R. Silva
  0 siblings, 1 reply; 8+ messages in thread
From: Jing Xiangfeng @ 2020-09-18  9:32 UTC (permalink / raw)
  To: jejb, martin.petersen, lee.jones, colin.king, axboe,
	mchehab+huawei, gustavoars
  Cc: linux-scsi, linux-kernel, jingxiangfeng

Remove the superfluous break, as there is a 'return' before it.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
---
 drivers/scsi/arcmsr/arcmsr_hba.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index ec895d0319f0..74add6d247d5 100644
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -2699,10 +2699,8 @@ static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb)
 	switch (acb->adapter_type) {
 	case ACB_ADAPTER_TYPE_A:
 		return arcmsr_hbaA_handle_isr(acb);
-		break;
 	case ACB_ADAPTER_TYPE_B:
 		return arcmsr_hbaB_handle_isr(acb);
-		break;
 	case ACB_ADAPTER_TYPE_C:
 		return arcmsr_hbaC_handle_isr(acb);
 	case ACB_ADAPTER_TYPE_D:
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-19  1:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-18  9:32 [PATCH] scsi: arcmsr: Remove the superfluous break Jing Xiangfeng
2020-09-18 14:56 ` Gustavo A. R. Silva
2020-09-18 17:13   ` Joe Perches
2020-09-18 17:17     ` Jens Axboe
2020-09-18 19:07       ` Joe Perches
2020-09-18 18:00     ` Dan Carpenter
2020-09-18 18:03       ` Colin Ian King
2020-09-19  1:52   ` Jing Xiangfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox