summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown2006-04-30 04:13:52 +0200
committerMichael Brown2006-04-30 04:13:52 +0200
commit7af478b30db5ccfb69573560d81bec7561fa0f64 (patch)
tree0e8f7c028ac1f8b9d0011673d29e1219e137aa07 /src/proto
parentPut the TCP connection periodic processing in tcp.c, where it belongs. (diff)
downloadipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.tar.gz
ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.tar.xz
ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.zip
Make tcp_connect() void; it will eventually have no failure case.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/iscsi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/proto/iscsi.c b/src/proto/iscsi.c
index 40e48e11..1a808b00 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: