diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-13 07:44:02 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 21412e2985ee882965d78612895ceab7afe8d499 (patch) | |
tree | 65521903e772da9f0a47fe73ae161bb67f13b4e3 /src/basic/cgroup-util.h | |
parent | de49e5fdca40c6e5652bd4996a4ba735fef58cb0 (diff) |
Prep v228: Full diff to master revealed more functions that are unused.
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 3e7db8dbd..307d41b62 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -55,6 +55,7 @@ typedef enum CGroupMask { _CGROUP_MASK_ALL = CGROUP_CONTROLLER_TO_MASK(_CGROUP_CONTROLLER_MAX) - 1 } CGroupMask; +#if 0 /// UNNEEDED by elogind /* Special values for the cpu.shares attribute */ #define CGROUP_CPU_SHARES_INVALID ((uint64_t) -1) #define CGROUP_CPU_SHARES_MIN UINT64_C(2) @@ -78,6 +79,7 @@ static inline bool CGROUP_BLKIO_WEIGHT_IS_OK(uint64_t x) { x == CGROUP_BLKIO_WEIGHT_INVALID || (x >= CGROUP_BLKIO_WEIGHT_MIN && x <= CGROUP_BLKIO_WEIGHT_MAX); } +#endif // 0 /* * General rules: |