diff options
Diffstat (limited to 'src/driver/pe_unit_ctx.c')
-rw-r--r-- | src/driver/pe_unit_ctx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c index 5330659..06a53f9 100644 --- a/src/driver/pe_unit_ctx.c +++ b/src/driver/pe_unit_ctx.c @@ -51,16 +51,12 @@ int pe_get_unit_ctx( return pe_free_unit_ctx_impl(ctx, PERK_NESTED_ERROR(dctx)); - memcpy(&ctx->cctx,dctx->cctx, - sizeof(ctx->cctx)); - ctx->path = path; ctx->ioctx.prot = prot; ctx->uctx.path = &ctx->path; ctx->uctx.map = &ctx->map; ctx->uctx.meta = ctx->meta; - ctx->uctx.cctx = &ctx->cctx; *pctx = &ctx->uctx; return 0; |