[lxc-devel] [lxcfs/master] cgroups: remove unused function
brauner on Github
lxc-bot at linuxcontainers.org
Mon Mar 16 16:47:38 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200316/ded9c268/attachment.bin>
-------------- next part --------------
From 78047e47c3dc324f4a7cb0a1ee6d521ed2ac1489 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Mon, 16 Mar 2020 17:46:57 +0100
Subject: [PATCH] cgroups: remove unused function
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
src/cgroups/cgfsng.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/cgroups/cgfsng.c b/src/cgroups/cgfsng.c
index 61916b8..4d4d4b2 100644
--- a/src/cgroups/cgfsng.c
+++ b/src/cgroups/cgfsng.c
@@ -165,12 +165,6 @@ static struct hierarchy *cgfsng_get_hierarchy(struct cgroup_ops *ops,
return NULL;
}
-static inline struct hierarchy *get_hierarchy(struct cgroup_ops *ops,
- const char *controller)
-{
- return cgfsng_get_hierarchy(ops, controller);
-}
-
/* Given two null-terminated lists of strings, return true if any string is in
* both.
*/
More information about the lxc-devel
mailing list