From: Daniel Wagner Date: Thu, 25 Oct 2012 04:16:55 +0000 (+0000) Subject: cgroup: net_prio: Mark local used function static X-Git-Tag: v3.12-rc1~1806^2~560 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c658f19db3c3077a3328a0e0ea182f6777337c40;p=kernel%2Fkernel-generic.git cgroup: net_prio: Mark local used function static net_prio_attach() is only access via cgroup_subsys callbacks, therefore we can reduce the visibility of this function. Signed-off-by: Daniel Wagner Cc: "David S. Miller" Cc: John Fastabend Cc: Li Zefan Cc: Neil Horman Cc: Tejun Heo Cc: Cc: 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 79285a3..847c02b 100644 --- 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;