From e280ba95833cc222b3cf5d5de792da720883d2ae Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Sun, 21 Apr 2024 08:29:16 +0000 Subject: [PATCH] sched: Remove unused core_ctl.h To avoid confusion with include/linux/sched/core_ctl.h Change-Id: I037b1cc0fa09c06737a369b4e7dfdd89cd7ad9af Signed-off-by: Alexander Winkowski Signed-off-by: Pranav Vashi --- kernel/sched/core_ctl.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 kernel/sched/core_ctl.h diff --git a/kernel/sched/core_ctl.h b/kernel/sched/core_ctl.h deleted file mode 100644 index 98d7cb3e899b..000000000000 --- a/kernel/sched/core_ctl.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2016, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef __CORE_CTL_H -#define __CORE_CTL_H - -#ifdef CONFIG_SCHED_CORE_CTL -void core_ctl_check(u64 wallclock); -int core_ctl_set_boost(bool boost); -#else -static inline void core_ctl_check(u64 wallclock) {} -static inline int core_ctl_set_boost(bool boost) -{ - return 0; -} -#endif -#endif