summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/chan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/runtime/chan.c b/src/pkg/runtime/chan.c
index daab4642c..64a52d48a 100644
--- a/src/pkg/runtime/chan.c
+++ b/src/pkg/runtime/chan.c
@@ -223,8 +223,6 @@ loop:
goto loop;
freesg(c, sg);
unlock(&chanlock);
- if(pres != nil)
- *pres = true;
return;
asynch:
@@ -325,8 +323,6 @@ loop:
c->elemalg->copy(c->elemsize, ep, sg->elem);
freesg(c, sg);
unlock(&chanlock);
- if(pres != nil)
- *pres = true;
return;
asynch: