Drop the unused field 'retries' from struct ntb_queue_entry for
simplicity's sake.
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
void *buf;
unsigned int len;
unsigned int flags;
- int retries;
int errors;
unsigned int tx_index;
unsigned int rx_index;
if (res < 0)
goto err;
- if (!entry->retries)
- qp->rx_async++;
-
+ qp->rx_async++;
return;
err:
if (res < 0)
goto err;
- if (!entry->retries)
- qp->tx_async++;
-
+ qp->tx_async++;
return;
err:
entry->buf = data;
entry->len = len;
entry->flags = 0;
- entry->retries = 0;
entry->errors = 0;
entry->rx_index = 0;
entry->len = len;
entry->flags = 0;
entry->errors = 0;
- entry->retries = 0;
entry->tx_index = 0;
rc = ntb_process_tx(qp, entry);