From: Daniel Wagner Date: Thu, 25 Oct 2012 04:16:55 +0000 (+0000) Subject: cgroup: net_prio: Mark local used function static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c658f19db3c3077a3328a0e0ea182f6777337c40;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 79285a36035f..847c02b197b0 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;