diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 00:19:33 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 00:19:33 +0200 |
commit | be3a5a6dc372870c9c6cb3b039228fab89db07b5 (patch) | |
tree | 5db24a811edae74d7f071ec694a3e8ad20c1caf2 /sys/src/9/port/qio.c | |
parent | 9ee3095553844b91e92f69efb44335c850f05c65 (diff) |
kernel: remove Block refcounting (thanks erik)
Diffstat (limited to 'sys/src/9/port/qio.c')
-rw-r--r-- | sys/src/9/port/qio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/9/port/qio.c b/sys/src/9/port/qio.c index 8076b04b8..3f663ab93 100644 --- a/sys/src/9/port/qio.c +++ b/sys/src/9/port/qio.c @@ -77,8 +77,7 @@ freeblist(Block *b) for(; b != 0; b = next){ next = b->next; - if(b->ref == 1) - b->next = nil; + b->next = nil; freeb(b); } } |