summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2015-09-04 02:03:43 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-09-11 10:32:32 +0300
commit06b967e429cfb76494badb9ffdd69e934ba72c77 (patch)
tree6ace8316efba7b682d5491fcc9c91acb668db9a1 /drivers/target
parent4824640ec3fc84337cb2baa9fb780e95864feb88 (diff)
downloadlinux-06b967e429cfb76494badb9ffdd69e934ba72c77.tar.xz
target: Remove no-op conditional
This does nothing, and there are many other places where transport_cmd_check_stop_to_fabric()'s retval is not checked>, If we wanted to check it here, we should probably do it those other places too. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 62bafaa670f4..5bacc7b5ed6d 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -1741,8 +1741,7 @@ void transport_generic_request_failure(struct se_cmd *cmd,
check_stop:
transport_lun_remove_cmd(cmd);
- if (!transport_cmd_check_stop_to_fabric(cmd))
- ;
+ transport_cmd_check_stop_to_fabric(cmd);
return;
queue_full: