summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/sdodin.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
commit72ba3571a3166ca69d28ccebf547675711bd800c (patch)
tree046ea9b3ab0716b977f23ace9fef885ca9492e24 /sys/src/9/pc/sdodin.c
parent0a2b418535915c6954fa9df575d71fb04171bb34 (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.c5
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++;