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.
Showing the changes to kernel/time (1 of 1 file). Show all
Unified · Split
| @@ -874,7 +874,6 @@ static void hardpps_update_phase(long error) · 873 unmodified lines | |||
| 874 | void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts) | 874 | void __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 | ||