diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-04-17 10:57:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-04-19 17:11:40 +0200 |
commit | 6158e0222d7143dde606e3ffddd62bee7413da10 (patch) | |
tree | 49ef3ce1252f8ec6e9841407ee0d58dff333637b /ell_grid_solve.c | |
parent | f9285315eccc26354eef6d8349db777727a63394 (diff) |
egs: drop unused function parameters
Diffstat (limited to 'ell_grid_solve.c')
-rw-r--r-- | ell_grid_solve.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ell_grid_solve.c b/ell_grid_solve.c index c29f69b..e792b47 100644 --- a/ell_grid_solve.c +++ b/ell_grid_solve.c @@ -151,7 +151,6 @@ static void boundaries_apply_fixval(double *dst, const ptrdiff_t dst_stride[2], } static void boundaries_apply_reflect(double *dst, const ptrdiff_t dst_stride[2], - const double *src, ptrdiff_t src_stride, size_t boundary_size) { if (dst_stride[0] == 1) { @@ -177,7 +176,6 @@ static const double falloff_bnd_fd_factors[][FD_STENCIL_MAX * 2 + 1] = { }; static void boundaries_apply_falloff(double *dst, const ptrdiff_t dst_stride[2], - const double *src, ptrdiff_t src_stride, size_t boundary_size, EGSContext *ctx) { for (ptrdiff_t bnd_layer = 1; bnd_layer <= ctx->fd_stencil; bnd_layer++) @@ -233,15 +231,13 @@ static void boundaries_apply(EGSContext *ctx, int init) break; case MG2D_BC_TYPE_REFLECT: start_bnd = gettime(); - boundaries_apply_reflect(dst, dst_strides, bnd->val, - bnd->val_stride, size_boundary); + boundaries_apply_reflect(dst, dst_strides, size_boundary); ctx->time_bnd_reflect += gettime() - start_bnd; ctx->count_bnd_reflect++; break; case MG2D_BC_TYPE_FALLOFF: start_bnd = gettime(); - boundaries_apply_falloff(dst, dst_strides, bnd->val, - bnd->val_stride, size_boundary, ctx); + boundaries_apply_falloff(dst, dst_strides, size_boundary, ctx); ctx->time_bnd_falloff += gettime() - start_bnd; ctx->count_bnd_falloff++; break; |