projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7185bb3
)
net: netprio_cgroup: make net_prio_subsys static
author
John Fastabend
<
[email protected]
>
Wed, 7 Dec 2011 19:17:17 +0000
(19:17 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 9 Dec 2011 00:58:35 +0000
(19:58 -0500)
net_prio_subsys can be made static this removes the sparse
warning it was throwing.
Signed-off-by: John Fastabend <
[email protected]
>
Acked-by: Neil Horman <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/netprio_cgroup.c
patch
|
blob
|
history
diff --git
a/net/core/netprio_cgroup.c
b/net/core/netprio_cgroup.c
index 3a9fd4826b75da9c6c11157f17db2c4d04f76bd5..ea16c8faf20c269ab41cac8c22927316d0785b1d 100644
(file)
--- 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 = {
+st
atic st
ruct cgroup_subsys net_prio_subsys = {
.name = "net_prio",
.create = cgrp_create,
.destroy = cgrp_destroy,