aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2011-12-07 14:17:17 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-08 19:58:35 -0500
commit865d9f9f748fdc1943679ea65d9ee1dc55e4a6ae (patch)
treeae5a01b3b33a139297c0b74f56ae65c37f2ff6d1 /net/core
parent7185bb335a1493f0ce27e9e94a1645a15db0fc0f (diff)
net: netprio_cgroup: make net_prio_subsys static
net_prio_subsys can be made static this removes the sparse warning it was throwing. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/netprio_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c
index 3a9fd4826b75..ea16c8faf20c 100644
--- a/net/core/netprio_cgroup.c
+++ b/net/core/netprio_cgroup.c
@@ -28,7 +28,7 @@ static struct cgroup_subsys_state *cgrp_create(struct cgroup_subsys *ss,
28static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp); 28static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp);
29static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp); 29static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp);
30 30
31struct cgroup_subsys net_prio_subsys = { 31static struct cgroup_subsys net_prio_subsys = {
32 .name = "net_prio", 32 .name = "net_prio",
33 .create = cgrp_create, 33 .create = cgrp_create,
34 .destroy = cgrp_destroy, 34 .destroy = cgrp_destroy,