Skip to content

Commit 6ad9c33

Browse files
committed
posix-timers: Cleanup includes
Remove pointless includes and sort the remaining ones alphabetically. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 5f2909c commit 6ad9c33

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

kernel/time/posix-timers.c

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,22 @@
99
*
1010
* These are all the functions necessary to implement POSIX clocks & timers
1111
*/
12-
#include <linux/mm.h>
13-
#include <linux/interrupt.h>
14-
#include <linux/slab.h>
15-
#include <linux/time.h>
16-
#include <linux/mutex.h>
17-
#include <linux/sched/task.h>
18-
19-
#include <linux/uaccess.h>
20-
#include <linux/list.h>
21-
#include <linux/init.h>
12+
#include <linux/compat.h>
2213
#include <linux/compiler.h>
2314
#include <linux/hash.h>
15+
#include <linux/hashtable.h>
16+
#include <linux/init.h>
17+
#include <linux/interrupt.h>
18+
#include <linux/list.h>
19+
#include <linux/nospec.h>
2420
#include <linux/posix-clock.h>
2521
#include <linux/posix-timers.h>
22+
#include <linux/sched/task.h>
23+
#include <linux/slab.h>
2624
#include <linux/syscalls.h>
27-
#include <linux/wait.h>
28-
#include <linux/workqueue.h>
29-
#include <linux/export.h>
30-
#include <linux/hashtable.h>
31-
#include <linux/compat.h>
32-
#include <linux/nospec.h>
25+
#include <linux/time.h>
3326
#include <linux/time_namespace.h>
27+
#include <linux/uaccess.h>
3428

3529
#include "timekeeping.h"
3630
#include "posix-timers.h"

0 commit comments

Comments
 (0)