]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Remove unused code in manual.c
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Oct 2013 15:04:24 +0000 (17:04 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Oct 2013 15:50:27 +0000 (17:50 +0200)
manual.c

index d584c51497eaf6692fa6c52a686d4299a584d558..9886ce59348eb15164e0edf887d934e7baf72eb8 100644 (file)
--- a/manual.c
+++ b/manual.c
@@ -59,13 +59,6 @@ typedef struct {
 static Sample samples[16];
 static int n_samples;
 
-static int replace_margin;
-static int error;
-
-/* Eventually these constants need to be user-defined in conf file */
-#define REPLACE_MARGIN 300
-#define ERROR_MARGIN 0.2
-
 /* ================================================== */
 
 static void
@@ -89,9 +82,6 @@ MNL_Initialise(void)
 
   n_samples = 0;
 
-  replace_margin = REPLACE_MARGIN;
-  error = ERROR_MARGIN;
-
   LCL_AddParameterChangeHandler(slew_samples, NULL);
 }