lkml.org 
[lkml]   [2019]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] scsi:remove unreachable code on scsi_decide_disposition func
Date
From: Wu Bo <wubo40@huawei.com>

Remove unreachable code on scsi_decide_disposition func.

Signed-off-by: Wu Bo <wubo40@huawei.com>
---
drivers/scsi/scsi_error.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index ae2fa17..c5e05c4 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1934,7 +1934,6 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd)
default:
return FAILED;
}
- return FAILED;

maybe_retry:

--
1.8.3.1
\
 
 \ /
  Last update: 2019-12-17 12:54    [W:0.038 / U:16.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site