Check-in Number:
|
2905 | |
Date: |
2002-Nov-27 11:42:36 (local)
2002-Nov-27 10:42:36 (UTC) |
User: | mlelstv |
Branch: | |
Comment: |
drop tx instance, it hasn't been used for a while.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sio/sio_buffer.c 1.5 -> 1.6
--- sio_buffer.c 2002/11/24 19:36:48 1.5
+++ sio_buffer.c 2002/11/27 10:42:36 1.6
@@ -7,7 +7,6 @@
typedef struct {
size_t outputsize;
- al_tx_t *outputtx;
size_t inputsize;
al_t *input, *output;
al_label_t data_label;
@@ -102,15 +101,9 @@
private_t *my = (private_t *)u;
al_rc_t arc;
- arc = al_txalloc(al, &my->outputtx);
- if (arc != AL_OK)
- return SIO_ERR_INT;
-
arc = al_create(&my->output);
- if (arc != AL_OK) {
- al_txfree(al, my->outputtx);
+ if (arc != AL_OK)
return SIO_ERR_INT;
- }
return SIO_OK;
}
@@ -122,8 +115,6 @@
al_destroy(my->output);
my->output = NULL;
- al_txfree(al, my->outputtx);
- my->outputtx = NULL;
return SIO_OK;
}
|
|