lkml.org 
[lkml]   [2014]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch V2 27/64] timekeeping: Remove ktime_get_monotonic_offset()
    No more users.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    include/linux/timekeeping.h | 1 -
    kernel/time/timekeeping.c | 18 ------------------
    2 files changed, 19 deletions(-)

    Index: tip/include/linux/timekeeping.h
    ===================================================================
    --- tip.orig/include/linux/timekeeping.h
    +++ tip/include/linux/timekeeping.h
    @@ -108,7 +108,6 @@ enum tk_offsets {

    extern ktime_t ktime_get(void);
    extern ktime_t ktime_get_with_offset(enum tk_offsets offs);
    -extern ktime_t ktime_get_monotonic_offset(void);
    extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs);

    /**
    Index: tip/kernel/time/timekeeping.c
    ===================================================================
    --- tip.orig/kernel/time/timekeeping.c
    +++ tip/kernel/time/timekeeping.c
    @@ -1708,24 +1708,6 @@ ktime_t ktime_get_update_offsets_now(kti
    #endif

    /**
    - * ktime_get_monotonic_offset() - get wall_to_monotonic in ktime_t format
    - */
    -ktime_t ktime_get_monotonic_offset(void)
    -{
    - struct timekeeper *tk = &tk_core.timekeeper;
    - unsigned long seq;
    - struct timespec64 wtom;
    -
    - do {
    - seq = read_seqcount_begin(&tk_core.seq);
    - wtom = tk->wall_to_monotonic;
    - } while (read_seqcount_retry(&tk_core.seq, seq));
    -
    - return timespec64_to_ktime(wtom);
    -}
    -EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset);
    -
    -/**
    * do_adjtimex() - Accessor function to NTP __do_adjtimex function
    */
    int do_adjtimex(struct timex *txc)



    \
     
     \ /
      Last update: 2014-07-17 00:01    [W:3.163 / U:0.440 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site