2020-12-29 01:32:14

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH] timens: delete no-op time_ns_init()

Signed-off-by: Alexey Dobriyan <[email protected]>
---

kernel/time/namespace.c | 6 ------
1 file changed, 6 deletions(-)

--- a/kernel/time/namespace.c
+++ b/kernel/time/namespace.c
@@ -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);


2020-12-29 08:36:13

by Andrei Vagin

[permalink] [raw]
Subject: Re: [PATCH] timens: delete no-op time_ns_init()

On Mon, Dec 28, 2020 at 1:54 PM Alexey Dobriyan <[email protected]> wrote:
>
> Signed-off-by: Alexey Dobriyan <[email protected]>

Acked-by: Andrei Vagin <[email protected]>

Thanks,
Andrei

> ---
>
> kernel/time/namespace.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> --- a/kernel/time/namespace.c
> +++ b/kernel/time/namespace.c
> @@ -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);

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

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()

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Andrei Vagin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
kernel/time/namespace.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/kernel/time/namespace.c b/kernel/time/namespace.c
index 6ca625f..12eab0d 100644
--- a/kernel/time/namespace.c
+++ b/kernel/time/namespace.c
@@ -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);