diff options
author | Michael Brown | 2006-04-30 18:59:45 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-30 18:59:45 +0200 |
commit | 9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c (patch) | |
tree | 0e4a50f1b14abc877b9d24736eff4d77b43a8d05 /src/proto | |
parent | Half-way tidy (diff) | |
download | ipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.tar.gz ipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.tar.xz ipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.zip |
Merge TCP aborted(), timedout() and closed() methods into a single
closed() method with a reason code.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/iscsi.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/proto/iscsi.c b/src/proto/iscsi.c index 1a808b00..f4fc91a7 100644 --- a/src/proto/iscsi.c +++ b/src/proto/iscsi.c @@ -251,17 +251,7 @@ tcp_to_iscsi ( struct tcp_connection *conn ) { return container_of ( conn, struct iscsi_session, tcp ); } -static void iscsi_aborted ( struct tcp_connection *conn ) { - struct iscsi_session *iscsi = tcp_to_iscsi ( conn ); - -} - -static void iscsi_timedout ( struct tcp_connection *conn ) { - struct iscsi_session *iscsi = tcp_to_iscsi ( conn ); - -} - -static void iscsi_closed ( struct tcp_connection *conn ) { +static void iscsi_closed ( struct tcp_connection *conn, int status ) { struct iscsi_session *iscsi = tcp_to_iscsi ( conn ); } @@ -523,8 +513,6 @@ static void iscsi_newdata ( struct tcp_connection *conn, void *data, /** iSCSI TCP operations */ static struct tcp_operations iscsi_tcp_operations = { - .aborted = iscsi_aborted, - .timedout = iscsi_timedout, .closed = iscsi_closed, .connected = iscsi_connected, .acked = iscsi_acked, |