diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-04 15:55:48 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-04 15:55:48 +0200 |
commit | 7451bb405d9e51965ce07d55f04f43dc45b6cef9 (patch) | |
tree | abcf9833135bd6f91416f0bc92608950515c64f7 | |
parent | 6498ce3bf29b5350975a0cd22bca8bcac19c4377 (diff) |
ether8390: remove unused variables
-rw-r--r-- | sys/src/9/pc/ether8390.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/src/9/pc/ether8390.c b/sys/src/9/pc/ether8390.c index 6853c5489..5f54bb459 100644 --- a/sys/src/9/pc/ether8390.c +++ b/sys/src/9/pc/ether8390.c @@ -461,7 +461,6 @@ txstart(Ether* ether) int len; Dp8390 *ctlr; Block *bp; - uchar minpkt[ETHERMINTU], *rp; ctlr = ether->ctlr; @@ -480,11 +479,10 @@ txstart(Ether* ether) * start the transmission. */ len = BLEN(bp); - rp = bp->rp; if(ctlr->ram) - memmove((uchar*)KADDR(ether->mem) + ctlr->tstart*Dp8390BufSz, rp, len); + memmove((uchar*)KADDR(ether->mem) + ctlr->tstart*Dp8390BufSz, bp->rp, len); else - dp8390write(ctlr, ctlr->tstart*Dp8390BufSz, rp, len); + dp8390write(ctlr, ctlr->tstart*Dp8390BufSz, bp->rp, len); freeb(bp); regw(ctlr, Tbcr0, len & 0xFF); |