mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
Make tcp_connect() void; it will eventually have no failure case.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user