From: Yury Vostrikov Date: Mon, 4 Jul 2022 17:37:52 +0000 (+0200) Subject: refclock: remove unused struct MedianFilter X-Git-Tag: 4.3-pre1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7daf34675a5a2487895c74d1578241ca91a4eb70;p=thirdparty%2Fchrony.git refclock: remove unused struct MedianFilter Filtering was moved to a separate source file in commit c498c21fad35 ("refclock: split off median filter). It looks like MedianFilter struct somehow survived the split. Remove it to reduce confusion. --- diff --git a/refclock.c b/refclock.c index e91828aa..761c001b 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;