No need to set kernel_leap twice in a row.

This patch removes a redundant initialization of the kernel_leap clock
variable. The field is already set in clock_create a few lines earlier.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2013-07-05 20:27:55 +02:00
parent 4b21400869
commit c9ac677c98
1 changed files with 0 additions and 1 deletions

View File

@ -596,7 +596,6 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count,
sysclk_set_leap(0);
}
c->leap_set = 0;
c->kernel_leap = dds->kernel_leap;
if (c->clkid != CLOCK_INVALID) {
fadj = (int) clockadj_get_freq(c->clkid);