History

timekeeping: Remove unused get_seconds()

The get_seconds() cleanup seems to have been completed, now it is time to delete the legacy interface to avoid misuse later.

Chunguang Xu committed 5 years ago

Commit aba428a1 parent 7c53f6b3 files · +1 −17Browse files

Showing the changes to include/linux (2 of 3 files). Show all

Unified · Split

2 files
  1. include/linux/ktime.h +0 −1
  2. include/linux/timekeeping32.h +0 −14
include/linux/ktime.h+0−1
@@ -230,6 +230,5 @@ static inline ktime_t ms_to_ktime(u64 ms) · 229 unmodified lines
230230 }
231231
232232 # include <linux/timekeeping.h>
233−# include <linux/timekeeping32.h>
234233
235234 #endif
include/linux/timekeeping32.h+0−14
@@ -1,14 +0,0 @@
1−#ifndef _LINUX_TIMEKEEPING32_H
2−#define _LINUX_TIMEKEEPING32_H
3−/*
4− * These interfaces are all based on the old timespec type
5− * and should get replaced with the timespec64 based versions
6− * over time so we can remove the file here.
7− */
8−
9−static inline unsigned long get_seconds(void)
10−{
11− return ktime_get_real_seconds();
12−}
13−
14−#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t