Skip to content

Commit

Permalink
ntp: Fix a stale comment and a few stray newlines.
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Cochran <[email protected]>
Signed-off-by: John Stultz <[email protected]>
  • Loading branch information
richardcochran authored and johnstultz-work committed May 21, 2012
1 parent dd48d70 commit cd5398b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,6 @@ int second_overflow(unsigned long secs)
<< NTP_SCALE_SHIFT;
time_adjust = 0;



out:
spin_unlock_irqrestore(&ntp_lock, flags);

Expand Down Expand Up @@ -559,10 +557,10 @@ static inline void process_adj_status(struct timex *txc, struct timespec *ts)
/* only set allowed bits */
time_status &= STA_RONLY;
time_status |= txc->status & ~STA_RONLY;

}

/*
* Called with the xtime lock held, so we can access and modify
* Called with ntp_lock held, so we can access and modify
* all the global NTP state:
*/
static inline void process_adjtimex_modes(struct timex *txc, struct timespec *ts)
Expand Down

0 comments on commit cd5398b

Please sign in to comment.