Remove the iscsi data alloc_size field.

Avoiding to realloc data over and over should rather be handled with something
similar to iovectors instead.
This commit is contained in:
Ronnie Sahlberg
2012-11-25 19:22:37 -08:00
parent bb755104e5
commit 9f741ad2e3
3 changed files with 10 additions and 24 deletions

View File

@@ -537,7 +537,6 @@ iscsi_task_mgmt_target_cold_reset_async(struct iscsi_context *iscsi,
struct iscsi_data {
int size;
size_t alloc_size;
unsigned char *data;
};