diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-29 13:20:42 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-29 13:22:24 -0700 |
| commit | 84990c6ecb35ef322b74b8cc9e74ad5964b66ee5 (patch) | |
| tree | b545f8bc47828e9398d053d31e7676e2554cbf3c /src/platform | |
| parent | 374f93a18edca2e0656c337a5b54927169ec31fa (diff) | |
| download | nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.gz nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.bz2 nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.zip | |
Clean up some dead code.
Diffstat (limited to 'src/platform')
| -rw-r--r-- | src/platform/posix/posix_aiothr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/platform/posix/posix_aiothr.c b/src/platform/posix/posix_aiothr.c index 2d31aede..2c11dcb2 100644 --- a/src/platform/posix/posix_aiothr.c +++ b/src/platform/posix/posix_aiothr.c @@ -178,7 +178,6 @@ nni_plat_aiothr_dothr(nni_posix_aioq *q, int (*fn)(int, nni_aio *)) } nni_list_remove(&q->aq_aios, aio); - //nni_mtx_unlock(&q->aq_lk); // Call the callback. nni_aio_finish(aio, rv, aio->a_count); @@ -186,9 +185,7 @@ nni_plat_aiothr_dothr(nni_posix_aioq *q, int (*fn)(int, nni_aio *)) while ((aio = nni_list_first(&q->aq_aios)) != NULL) { nni_list_remove(&q->aq_aios, aio); - //nni_mtx_unlock(&q->aq_lk); nni_aio_finish(aio, NNG_ECLOSED, aio->a_count); - //nni_mtx_lock(&q->aq_lk); } nni_mtx_unlock(&q->aq_lk); |
