[chrony-dev] [PATCH] Remove unused struct MedianFilter

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Filtering was moved to a separate source file in c498c21fad35173d748e8a70affd8044ec5ad0c5 .
It looks like MedianFilter struct somehow survived the split. Remove it
to reduce confusion.
---
 refclock.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/refclock.c b/refclock.c
index e91828a..761c001 100644
--- a/refclock.c
+++ b/refclock.c
@@ -55,21 +55,6 @@ struct FilterSample {
   struct timespec sample_time;
 };
 
-struct MedianFilter {
-  int length;
-  int index;
-  int used;
-  int last;
-  int avg_var_n;
-  double avg_var;
-  double max_var;
-  struct FilterSample *samples;
-  int *selected;
-  double *x_data;
-  double *y_data;
-  double *w_data;
-};
-
 struct RCL_Instance_Record {
   RefclockDriver *driver;
   void *data;
-- 
2.30.2


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/