From: John Fastabend Date: Wed, 7 Dec 2011 19:17:17 +0000 (+0000) Subject: net: netprio_cgroup: make net_prio_subsys static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=865d9f9f748fdc1943679ea65d9ee1dc55e4a6ae;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Neil Horman Signed-off-by: David S. Miller --- 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, static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp); static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp); -struct cgroup_subsys net_prio_subsys = { +static struct cgroup_subsys net_prio_subsys = { .name = "net_prio", .create = cgrp_create, .destroy = cgrp_destroy,