Added a missing return statement in paired_grant().

Removed lots of unused variables.
This commit is contained in:
Kees van Reeuwijk
2010-01-15 21:45:30 +00:00
parent 716df202de
commit 4faed703d9
13 changed files with 23 additions and 59 deletions

View File

@@ -109,7 +109,6 @@ PUBLIC void init_buff(dpeth_t *dep, buff_t **tx_buff)
*/
PUBLIC void mem2user(dpeth_t *dep, buff_t *rxbuff)
{
phys_bytes phys_user;
int bytes, ix = 0;
iovec_dat_s_t *iovp = &dep->de_read_iovec;
int r, pktsize = rxbuff->size;
@@ -142,7 +141,6 @@ PUBLIC void mem2user(dpeth_t *dep, buff_t *rxbuff)
*/
PUBLIC void user2mem(dpeth_t *dep, buff_t *txbuff)
{
phys_bytes phys_user;
int bytes, ix = 0;
iovec_dat_s_t *iovp = &dep->de_write_iovec;
int r, pktsize = txbuff->size;