diff options
author | Roland Dreier <roland@purestorage.com> | 2012-08-30 16:28:30 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-09-17 17:13:35 -0700 |
commit | 06cda529d27d778f55690d5b09af8ae4448e796b (patch) | |
tree | e4c90f2220433a7ac2c3a8913c34d849ae1b7cc0 | |
parent | fd30e9310253235e88a4eaa38fa92439b56c220e (diff) | |
download | op-kernel-dev-06cda529d27d778f55690d5b09af8ae4448e796b.zip op-kernel-dev-06cda529d27d778f55690d5b09af8ae4448e796b.tar.gz |
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: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/target/iscsi/iscsi_target_nego.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 2dba448..a9a73ac 100644 --- a/drivers/target/iscsi/iscsi_target_nego.c +++ b/drivers/target/iscsi/iscsi_target_nego.c @@ -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; } |