]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
regress: remove unused struct declaration
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 2 Dec 2016 13:31:04 +0000 (14:31 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 2 Dec 2016 13:53:03 +0000 (14:53 +0100)
regress.c

index f8f5ef3fb5f599a5ac5d0028c7ec97fd78503e7f..bbc138a1a1587183135f0be1654125e8f9f56691 100644 (file)
--- 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. */