diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-04-30 02:13:52 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-04-30 02:13:52 +0000 |
commit | 7af478b30db5ccfb69573560d81bec7561fa0f64 (patch) | |
tree | 0e8f7c028ac1f8b9d0011673d29e1219e137aa07 /src/proto | |
parent | 9c9208a13255ceebd59bd564eb2aa50a0761899d (diff) | |
download | ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.tar.gz |
Make tcp_connect() void; it will eventually have no failure case.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/iscsi.c | 3 |
1 files changed, 1 insertions, 2 deletions
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: |