Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa848233 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by John Stultz
Browse files

ntp: Remove unused variable flags in __hardpps



kernel/time/ntp.c: In function ‘__hardpps’:
kernel/time/ntp.c:877: warning: unused variable ‘flags’

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

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent c7788792
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -874,7 +874,6 @@ static void hardpps_update_phase(long error)
void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
{
{
	struct pps_normtime pts_norm, freq_norm;
	struct pps_normtime pts_norm, freq_norm;
	unsigned long flags;


	pts_norm = pps_normalize_ts(*phase_ts);
	pts_norm = pps_normalize_ts(*phase_ts);