time: ntp: simplify the second_overflow() code flow
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 11:06:57 +0000 (12:06 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 17:38:07 +0000 (18:38 +0100)
commit3c972c2444dcb7088999c32b8c5a7ab3b8a6c0b6
tree0d89d2cfff1b3b32192ed54c70ee183356a11191
parent53bbfa9e9437e70b322368e82c723112d690e304
time: ntp: simplify the second_overflow() code flow

Impact: cleanup, no functionality changed

Instead of a hierarchy of conditions, transform them to clean
gradual conditions and return's.

This makes the flow easier to read and makes the purpose of
the function easier to understand.

kernel/time/ntp.o:

   text    data     bss     dec     hex filename
   2552     170     168    2890     b4a ntp.o.before
   2552     170     168    2890     b4a ntp.o.after

md5:
   eae1275df0b7d6290c13f6f6f8f05c8c  ntp.o.before.asm
   eae1275df0b7d6290c13f6f6f8f05c8c  ntp.o.after.asm

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/ntp.c
This page took 0.034798 seconds and 5 git commands to generate.