On Sat, Apr 07, 2018 at 10:35:11PM +0200, Peter Schneider wrote: > + if (node.servo_type == CLOCK_SERVO_NTPSHM) { > + config_set_int(cfg, "kernel_leap", 0); > + }
So this coupling of kernel_leap with the servo is new logic, right? > + node.kernel_leap = config_get_int(cfg, NULL, "kernel_leap"); Again, the initialization of the struct field is now redundant. Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel