From 7af478b30db5ccfb69573560d81bec7561fa0f64 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 30 Apr 2006 02:13:52 +0000 Subject: Make tcp_connect() void; it will eventually have no failure case. --- src/proto/iscsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/proto') diff --git a/src/proto/iscsi.c b/src/proto/iscsi.c index 40e48e115..1a808b006 100644 --- a/src/proto/iscsi.c +++ b/src/proto/iscsi.c @@ -544,8 +544,7 @@ void iscsi_wakeup ( struct iscsi_session *iscsi ) { switch ( iscsi->state ) { case ISCSI_STATE_NOT_CONNECTED: case ISCSI_STATE_FAILED: - if ( tcp_connect ( &iscsi->tcp ) != 0 ) - iscsi_fail ( iscsi ); + tcp_connect ( &iscsi->tcp ); iscsi_start_login ( iscsi ); break; case ISCSI_STATE_IDLE: -- cgit v1.2.3-55-g7522