target/iscsi: Don't log "iSCSI Login negotiation failed." twice
authorRoland Dreier <roland@purestorage.com>
Thu, 30 Aug 2012 23:28:30 +0000 (16:28 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:35 +0000 (17:13 -0700)
commit06cda529d27d778f55690d5b09af8ae4448e796b
treee4c90f2220433a7ac2c3a8913c34d849ae1b7cc0
parentfd30e9310253235e88a4eaa38fa92439b56c220e
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>
drivers/target/iscsi/iscsi_target_nego.c