login
Header Space

 
 

Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: john stultz <johnstul@...>
Cc: lkml <linux-kernel@...>, Roman Zippel <zippel@...>, Ingo Molnar <mingo@...>
Date: Saturday, March 15, 2008 - 8:39 am

Hi John,

On Saturday 15 March 2008, john stultz wrote:

I don't understand, why the goto is required here. 

If you move these two cases in front of case "TIME_OK" and
omit the break, you can remove the goto and the label "start_timer".
Don't forget the /* fall through */ comment then.

If you want to keep this patch a simple code movement,
maybe add a later patch to improve this on top of it.


Best Regards

Ingo Oeser
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] time/ntp changes, john stultz, (Sat Mar 15, 12:04 am)
[PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Sat Mar 15, 12:06 am)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, Roman Zippel, (Sat Mar 15, 12:50 am)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Mon Mar 17, 10:03 pm)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, Roman Zippel, (Tue Mar 25, 11:41 pm)
Re: [PATCH 2/5] introduce CLOCK_MONOTONIC_RAW, john stultz, (Mon Mar 17, 10:27 pm)
[PATCH 3/5] cleanups ntp.c (from Ingo), john stultz, (Sat Mar 15, 12:10 am)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Jörg-Volker Peetz, (Sat Mar 15, 5:32 am)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Roman Zippel, (Sat Mar 15, 1:23 pm)
Re: [PATCH 3/5] cleanups ntp.c (from Ingo), Roman Zippel, (Sat Mar 15, 1:06 am)
[PATCH 4/5] ntp.c code flow clenaups (from Ingo), john stultz, (Sat Mar 15, 12:12 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Ingo Oeser, (Sat Mar 15, 8:39 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Roman Zippel, (Sat Mar 15, 1:24 pm)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), Roman Zippel, (Sat Mar 15, 12:52 am)
Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo), John Stultz, (Sat Mar 15, 1:04 am)
[PATCH 5/5] make more ntp values static, john stultz, (Sat Mar 15, 12:15 am)
Re: [PATCH 5/5] make more ntp values static, Roman Zippel, (Sat Mar 15, 1:09 am)
speck-geostationary