From 5dc7736f601849fb76e00edadeb6b6a142b7a322 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 29 Jun 2017 08:52:49 -0700 Subject: [PATCH] Remove more documentation for obsolete board configuration. Bug: N/A Test: builds Change-Id: I0a4ea974a81aadba1a554072ceff9f243a70be0d --- libcutils/sched_policy.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libcutils/sched_policy.cpp b/libcutils/sched_policy.cpp index aeb881aec..48651ba36 100644 --- a/libcutils/sched_policy.cpp +++ b/libcutils/sched_policy.cpp @@ -125,7 +125,6 @@ static int add_tid_to_cgroup(int tid, int fd) In older releases, this was controlled by build-time configuration. */ - bool cpusets_enabled() { static bool enabled = (access("/dev/cpuset/tasks", F_OK) == 0); @@ -137,12 +136,8 @@ bool cpusets_enabled() { CONFIG_CGROUP_SCHEDTUNE that's in Android common Linux kernel and Linaro Stable Kernel (LSK), but not in mainline Linux as of v4.9. - With runtime check using the following function, build time - variables like ENABLE_SCHEDBOOST (used in Android.mk) or schedboost - (used in Android.bp) are not needed. - + In older releases, this was controlled by build-time configuration. */ - bool schedboost_enabled() { static bool enabled = (access("/dev/stune/tasks", F_OK) == 0);