Skip to content

Commit

Permalink
ntp: Remove unused variable flags in __hardpps
Browse files Browse the repository at this point in the history
kernel/time/ntp.c: In function ‘__hardpps’:
kernel/time/ntp.c:877: warning: unused variable ‘flags’

commit a076b21 ("ntp: Remove ntp_lock,
using the timekeeping locks to protect ntp state") removed its users,
but not the actual variable.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
  • Loading branch information
Geert Uytterhoeven authored and John Stultz committed May 28, 2013
1 parent c778879 commit aa84823
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,6 @@ static void hardpps_update_phase(long error)
void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
{
struct pps_normtime pts_norm, freq_norm;
unsigned long flags;

pts_norm = pps_normalize_ts(*phase_ts);

Expand Down

0 comments on commit aa84823

Please sign in to comment.