From 3b65d721f75aed9057376f2b271ebd129a49e909 Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Mon, 24 Mar 2025 10:36:10 +0100
Subject: [PATCH] Revert last commit

---
 src/cdf_filter.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/cdf_filter.c b/src/cdf_filter.c
index 4c4cea080..91773ffe7 100644
--- a/src/cdf_filter.c
+++ b/src/cdf_filter.c
@@ -95,8 +95,6 @@ cdf_def_var_filter(int ncid, int ncvarID, const char *filterSpec)
             {
               unsigned int filterid = filters[i]->filterid;
               // printf("filter %zu id:%d nparams:%zu param1 %d\n", i + 1, filterid, filters[i]->nparams, filters[i]->params[0]);
-              status = nc_inq_filter_avail(ncid, filterid);
-              if (status != NC_NOERR) Error("%s", nc_strerror(status));
               status = nc_def_var_filter(ncid, ncvarID, filterid, filters[i]->nparams, filters[i]->params);
               if (status != NC_NOERR)
                 {
-- 
GitLab