[PATCH] um: time-travel: remove time_exit()

Johannes Berg johannes at sipsolutions.net
Wed Jul 3 04:01:05 PDT 2024


From: Johannes Berg <johannes.berg at intel.com>

This function is unused and unneeded, remove it.

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 arch/um/kernel/time.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c
index d44eaad53d9d..47b9f5e63566 100644
--- a/arch/um/kernel/time.c
+++ b/arch/um/kernel/time.c
@@ -1038,11 +1038,5 @@ static int __init um_bc_start(void)
 
 	return 0;
 }
-
-void __exit time_exit(void)
-{
-	kobject_put(bc_time_kobject);
-}
-
 late_initcall(um_bc_start);
 #endif
-- 
2.45.2




More information about the linux-um mailing list