Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06b967e4 authored by Andy Grover's avatar Andy Grover Committed by Nicholas Bellinger
Browse files

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: default avatarAndy Grover <agrover@redhat.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 4824640e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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: