[2.6 patch] fs/proc/proc_net.c: make a struct static

From: Adrian Bunk
Date: Wed Oct 24 2007 - 12:28:05 EST


Struct proc_net_ns_ops can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
5ae49d45bc25eed356ecbe3592db270bfa1d9b73
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c
index 2e91fb7..4edaad0 100644
--- a/fs/proc/proc_net.c
+++ b/fs/proc/proc_net.c
@@ -185,7 +185,7 @@ static __net_exit void proc_net_ns_exit(struct net *net)
kfree(net->proc_net_root);
}

-struct pernet_operations __net_initdata proc_net_ns_ops = {
+static struct pernet_operations __net_initdata proc_net_ns_ops = {
.init = proc_net_ns_init,
.exit = proc_net_ns_exit,
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/