History

ntp: Remove unused variable flags in __hardpps

kernel/time/ntp.c: In function ‘__hardpps’: kernel/time/ntp.c:877: warning: unused variable ‘flags’ commit a076b2146fabb0894cae5e0189a8ba3f1502d737 ("ntp: Remove ntp_lock, using the timekeeping locks to protect ntp state") removed its users, but not the actual variable.

Geert Uytterhoeven committed 13 years ago

Commit aa848231 parent c7788791 file · +0 −1Browse files

Showing the changes to kernel/time (1 of 1 file). Show all

Unified · Split

kernel/time/ntp.c+0−1
@@ -874,7 +874,6 @@ static void hardpps_update_phase(long error) · 873 unmodified lines
874void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)874void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
875{875{
876 struct pps_normtime pts_norm, freq_norm;876 struct pps_normtime pts_norm, freq_norm;
877 unsigned long flags;
878 877
879 pts_norm = pps_normalize_ts(*phase_ts);878 pts_norm = pps_normalize_ts(*phase_ts);
880 879