From: Miroslav Lichvar Date: Fri, 2 Dec 2016 13:31:04 +0000 (+0100) Subject: regress: remove unused struct declaration X-Git-Tag: 3.0-pre1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53b661b59d8617be2ebf2cd8292f21ee9d097e5b;p=thirdparty%2Fchrony.git regress: remove unused struct declaration --- diff --git a/regress.c b/regress.c index f8f5ef3f..bbc138a1 100644 --- a/regress.c +++ b/regress.c @@ -150,20 +150,6 @@ RGR_GetChi2Coef(int dof) } } -/* ================================================== */ -/* Structure used for holding results of each regression */ - -typedef struct { - double variance; - double slope_sd; - double slope; - double offset; - double offset_sd; - double K2; /* Variance / slope_var */ - int n; /* Number of points */ - int dof; /* Number of degrees of freedom */ -} RegressionResult; - /* ================================================== */ /* Critical value for number of runs of residuals with same sign. 5% critical region for now. */