summaryrefslogtreecommitdiff
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-10 06:57:37 +0300
committerTejun Heo <tj@kernel.org>2023-06-12 20:05:56 +0300
commitd16b3af46679a1eb21652c37711a60d3d4e6b8c0 (patch)
treea02eae61c04b3261b7726df1b622618203e91995 /include/linux/cgroup.h
parent5273ee254e34cf577460dc8eb786b26a7b5329d8 (diff)
downloadlinux-d16b3af46679a1eb21652c37711a60d3d4e6b8c0.tar.xz
cgroup: remove unused task_cgroup_path()
task_cgroup_path() is not used anymore. So remove it. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 885f5395fcd0..1261a47932a6 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -118,7 +118,6 @@ int cgroup_rm_cftypes(struct cftype *cfts);
void cgroup_file_notify(struct cgroup_file *cfile);
void cgroup_file_show(struct cgroup_file *cfile, bool show);
-int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen);
int cgroupstats_build(struct cgroupstats *stats, struct dentry *dentry);
int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns,
struct pid *pid, struct task_struct *tsk);