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:
72108fd
)
cgroup: net_prio: Mark local used function static
author
Daniel Wagner
<
[email protected]
>
Thu, 25 Oct 2012 04:16:55 +0000
(
04:16
+0000)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Oct 2012 07:40:50 +0000
(
03:40
-0400)
net_prio_attach() is only access via cgroup_subsys callbacks,
therefore we can reduce the visibility of this function.
Signed-off-by: Daniel Wagner <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Cc: John Fastabend <
[email protected]
>
Cc: Li Zefan <
[email protected]
>
Cc: Neil Horman <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Cc: <
[email protected]
>
Cc: <
[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 79285a36035ffa6624c49ee1a0a865558f66859e..847c02b197b0f8b8fdb3624d661d0329c4a9ddd6 100644
(file)
--- a/
net/core/netprio_cgroup.c
+++ b/
net/core/netprio_cgroup.c
@@
-248,7
+248,7
@@
static int update_netprio(const void *v, struct file *file, unsigned n)
return 0;
}
-void net_prio_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
+
static
void net_prio_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
{
struct task_struct *p;
void *v;