summaryrefslogtreecommitdiffstats
path: root/include/net/netprio_cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-08-09 02:11:22 +0200
committerTejun Heo <tj@kernel.org>2013-08-09 02:11:22 +0200
commit6d37b97428d20a21ffc39ba90e97e91e2a79a986 (patch)
tree0ccfe669f4b04f814776b5293b05f0655558f777 /include/net/netprio_cgroup.h
parentcpuset: drop "const" qualifiers from struct cpuset instances (diff)
downloadlinux-6d37b97428d20a21ffc39ba90e97e91e2a79a986.tar.xz
linux-6d37b97428d20a21ffc39ba90e97e91e2a79a986.zip
netprio_cgroup: pass around @css instead of @cgroup and kill struct cgroup_netprio_state
cgroup controller API will be converted to primarily use struct cgroup_subsys_state instead of struct cgroup. In preparation, make the internal functions of netprio_cgroup pass around @css instead of @cgrp. While at it, kill struct cgroup_netprio_state which only contained struct cgroup_subsys_state without serving any purpose. All functions are converted to deal with @css directly. This patch shouldn't cause any behavior differences. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netprio_cgroup.h')
-rw-r--r--include/net/netprio_cgroup.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/netprio_cgroup.h b/include/net/netprio_cgroup.h
index 8110fa7ae60a..a24f8bb3ca47 100644
--- a/include/net/netprio_cgroup.h
+++ b/include/net/netprio_cgroup.h
@@ -25,10 +25,6 @@ struct netprio_map {
u32 priomap[];
};
-struct cgroup_netprio_state {
- struct cgroup_subsys_state css;
-};
-
extern void sock_update_netprioidx(struct sock *sk);
#if IS_BUILTIN(CONFIG_NETPRIO_CGROUP)