aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/target/target_core_transport.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 373e01f523d..b5fdacce067 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -2062,13 +2062,6 @@ static int transport_execute_tasks(struct se_cmd *cmd)
2062{ 2062{
2063 int add_tasks; 2063 int add_tasks;
2064 struct se_device *se_dev = cmd->se_dev; 2064 struct se_device *se_dev = cmd->se_dev;
2065
2066 if (se_dev_check_online(cmd->se_dev) != 0) {
2067 cmd->scsi_sense_reason = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
2068 transport_generic_request_failure(cmd);
2069 return 0;
2070 }
2071
2072 /* 2065 /*
2073 * Call transport_cmd_check_stop() to see if a fabric exception 2066 * Call transport_cmd_check_stop() to see if a fabric exception
2074 * has occurred that prevents execution. 2067 * has occurred that prevents execution.