Skip to contentSkip to conversation

timens: delete no-op time_ns_init()

PATCH Applied Alexey Dobriyan 3 participants 3 messages Dec 28, 2020 – Feb 5, 2021 Posix clocks and timers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timens: delete no-op time_ns_init()

---

 kernel/time/namespace.c |    6 ------
 1 file changed, 6 deletions(-)
kernel/time/namespace.c +0 -6
@@ -465,9 +465,3 @@ struct time_namespace init_time_ns = {
 	.ns.ops		= &timens_operations,
 	.frozen_offsets	= true,
 };
-
-static int __init time_ns_init(void)
-{
-	return 0;
-}
-subsys_initcall(time_ns_init);
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Alexey Dobriyan

Thanks,
Andrei

Quoted 17 lines

---

 kernel/time/namespace.c |    6 ------
 1 file changed, 6 deletions(-)
kernel/time/namespace.c +0 -6
@@ -465,9 +465,3 @@ struct time_namespace init_time_ns = {
        .ns.ops         = &timens_operations,
        .frozen_offsets = true,
 };
-
-static int __init time_ns_init(void)
-{
-       return 0;
-}
-subsys_initcall(time_ns_init);
#2 lore raw

[tip: timers/core] timens: Delete no-op time_ns_init()

In reply to Alexey Dobriyan
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     174bcc691f44fdd05046c694fc650933819f72c7
Gitweb:        https://git.kernel.org/tip/174bcc691f44fdd05046c694fc650933819f72c7
Author:        Alexey Dobriyan <[email protected]>
AuthorDate:    Tue, 29 Dec 2020 00:54:02 +03:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Fri, 05 Feb 2021 19:32:09 +01:00

timens: Delete no-op time_ns_init()

---
 kernel/time/namespace.c | 6 ------
 1 file changed, 6 deletions(-)
kernel/time/namespace.c +0 -6
index 6ca625f..12eab0d 100644
@@ -465,9 +465,3 @@ struct time_namespace init_time_ns = {
 	.ns.ops		= &timens_operations,
 	.frozen_offsets	= true,
 };
-
-static int __init time_ns_init(void)
-{
-	return 0;
-}
-subsys_initcall(time_ns_init);