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

Commit 06cda529 authored by Roland Dreier's avatar Roland Dreier Committed by Nicholas Bellinger
Browse files

target/iscsi: Don't log "iSCSI Login negotiation failed." twice



There's no need for iscsi_target_init_negotiation() to print

    iSCSI Login negotiation failed.

on failure, since its only caller (__iscsi_target_login_thread())
prints exactly the same message if it gets an error return back.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent fd30e931
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1000,7 +1000,6 @@ struct iscsi_login *iscsi_target_init_negotiation(
	 *	Locates Target Portal from NP -> Target IQN
	 */
	if (iscsi_target_locate_portal(np, conn, login) < 0) {
		pr_err("iSCSI Login negotiation failed.\n");
		goto out;
	}