]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ntp: Remove unused variable flags in __hardpps
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 3 May 2013 21:27:07 +0000 (23:27 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 28 May 2013 20:45:19 +0000 (13:45 -0700)
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.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/ntp.c

index 12ff13a838c652967d83212baf4742d71862720a..8f5b3b98577b797663f8057762b6248d0fae1823 100644 (file)
@@ -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);