Remove duplicated code specific to the ntpshm servo configuration.
Signed-off-by: Miroslav Lichvar <[email protected]>
---
phc2sys.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/phc2sys.c b/phc2sys.c
index 64bdf26..d0f62c5 100644
--- a/phc2sys.c
+++ b/phc2sys.c
@@ -1561,11 +1561,6 @@ int main(int argc, char *argv[])
goto bad_usage;
}
- if (node.servo_type == CLOCK_SERVO_NTPSHM) {
- node.kernel_leap = 0;
- node.sanity_freq_limit = 0;
- }
-
print_set_progname(progname);
print_set_tag(config_get_string(cfg, NULL, "message_tag"));
print_set_verbose(config_get_int(cfg, NULL, "verbose"));
--
2.26.2
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel