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

Commit 1acff63f authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger
Browse files

iser-target: Fix smatch warning



Unused return value from down_interruptible

Reported-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 6e14eab9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3152,7 +3152,7 @@ isert_accept_np(struct iscsi_np *np, struct iscsi_conn *conn)

accept_wait:
	ret = down_interruptible(&isert_np->np_sem);
	if (max_accept > 5)
	if (ret || max_accept > 5)
		return -ENODEV;

	spin_lock_bh(&np->np_thread_lock);