summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/etherm10g.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 00:19:33 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 00:19:33 +0200
commitbe3a5a6dc372870c9c6cb3b039228fab89db07b5 (patch)
tree5db24a811edae74d7f071ec694a3e8ad20c1caf2 /sys/src/9/pc/etherm10g.c
parent9ee3095553844b91e92f69efb44335c850f05c65 (diff)
kernel: remove Block refcounting (thanks erik)
Diffstat (limited to 'sys/src/9/pc/etherm10g.c')
-rw-r--r--sys/src/9/pc/etherm10g.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/pc/etherm10g.c b/sys/src/9/pc/etherm10g.c
index a27768ab0..bceb971f8 100644
--- a/sys/src/9/pc/etherm10g.c
+++ b/sys/src/9/pc/etherm10g.c
@@ -864,7 +864,6 @@ balloc(Rx* rx)
if((bp = rx->pool->head) != nil){
rx->pool->head = bp->next;
bp->next = nil;
- _xinc(&bp->ref); /* prevent bp from being freed */
rx->pool->n--;
}
iunlock(rx->pool);