From 72ba3571a3166ca69d28ccebf547675711bd800c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 8 Jun 2014 01:35:22 +0200 Subject: 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. --- sys/src/9/pc/sdodin.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/src/9/pc/sdodin.c') 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<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++; -- cgit v1.2.3