diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 01:35:22 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 01:35:22 +0200 |
commit | 72ba3571a3166ca69d28ccebf547675711bd800c (patch) | |
tree | 046ea9b3ab0716b977f23ace9fef885ca9492e24 /sys/src/9/pc/sdodin.c | |
parent | 0a2b418535915c6954fa9df575d71fb04171bb34 (diff) |
kernel: remove _xinc()/_xdec()
as with the Block refcount changes, _xinc() and _xdec() arent
used anymore, so remove them.
architecure can still define ainc()/adec() when it needs them.
Diffstat (limited to 'sys/src/9/pc/sdodin.c')
-rw-r--r-- | sys/src/9/pc/sdodin.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/9/pc/sdodin.c b/sys/src/9/pc/sdodin.c index 0153b3db6..5f8f69cea 100644 --- a/sys/src/9/pc/sdodin.c +++ b/sys/src/9/pc/sdodin.c @@ -932,11 +932,6 @@ command(Drive *d, uint cmd, int ms) m = 1<<i; n = cmd | Ditor | i*Dsatareg | m*Dphyno | i*Dcslot; // print("cqwp\t%.8ux : n %ux : d%d; \n", c->cq[0], n, i); - /* - * xinc doesn't return the previous value and i can't - * figure out how to do this without a lock - * s = _xinc(&c->dqwp); - */ d->cmd->cflag = Active; ilock(c); s = c->dqwp++; |