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

Unified · Split

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