summaryrefslogtreecommitdiffstats
path: root/base.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-26 15:12:29 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-26 15:12:29 +0200
commit2e3ded723043e89d81df6a79112c1f68e53f3823 (patch)
tree03eed828a33f87e1801e0376a6984b66de2e4ab1 /base.c
parent0c7f81f9018bc7c23f92993e288ed546744fdf92 (diff)
downloadipecamera-2e3ded723043e89d81df6a79112c1f68e53f3823.tar.gz
ipecamera-2e3ded723043e89d81df6a79112c1f68e53f3823.tar.bz2
ipecamera-2e3ded723043e89d81df6a79112c1f68e53f3823.tar.xz
ipecamera-2e3ded723043e89d81df6a79112c1f68e53f3823.zip
Cleanup
Diffstat (limited to 'base.c')
-rw-r--r--base.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/base.c b/base.c
index 5336ab3..8b60b20 100644
--- a/base.c
+++ b/base.c
@@ -132,7 +132,6 @@ pcilib_context_t *ipecamera_init(pcilib_t *pcilib) {
ctx->rdma = PCILIB_DMA_ENGINE_INVALID;
- ctx->wdma = PCILIB_DMA_ENGINE_INVALID;
if (err) {
free(ctx);
@@ -535,12 +534,6 @@ int ipecamera_stop(pcilib_context_t *vctx, pcilib_event_flags_t flags) {
}
ctx->frame_mutex_destroy = 0;
}
-
-
- if (ctx->wdma != PCILIB_DMA_ENGINE_INVALID) {
- pcilib_stop_dma(vctx->pcilib, ctx->wdma, PCILIB_DMA_FLAGS_DEFAULT);
- ctx->wdma = PCILIB_DMA_ENGINE_INVALID;
- }
if (ctx->rdma != PCILIB_DMA_ENGINE_INVALID) {
pcilib_stop_dma(vctx->pcilib, ctx->rdma, PCILIB_DMA_FLAGS_DEFAULT);