• I
    time: ntp: refactor do_adjtimex() · 80f22571
    Ingo Molnar 提交于
    Impact: cleanup, no functionality changed
    
    do_adjtimex() is currently a monster function with a maze of
    branches. Refactor the txc->modes setting aspects of it into
    two new helper functions:
    
    	process_adj_status()
    	process_adjtimex_modes()
    
    kernel/time/ntp.o:
    
       text	   data	    bss	    dec	    hex	filename
       2512	    114	    136	   2762	    aca	ntp.o.before
       2512	    114	    136	   2762	    aca	ntp.o.after
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    80f22571
ntp.c 12.5 KB