]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 6 Sep 2012 00:09:40 +0000 (17:09 -0700)
commitfc371de60905352e05765f5a80b69c1d121f358c
tree0cf2b97da1e89c3755d7bbda2a7d7bf548358d5c
parent5b04ecc3d39740ffed28373e5e086c4ae442e7dc
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