aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-12-09 04:47:29 -0500
committerPaul Mackerras <paulus@samba.org>2008-12-15 23:52:57 -0500
commit6b82b3e4b54b2fce2ca11976c535012b836b2016 (patch)
treef7d74baec148a5f8d5227c57ef8250481bdb8949 /fs
parent0efbb57e06d881a39a7f261e5c33558aedec0f79 (diff)
powerpc: Remove `have_of' global variable
The `have_of' variable is a relic from the arch/ppc time, it isn't useful nowadays. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_devtree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c
index d777789b7a89..de2bba5a3440 100644
--- a/fs/proc/proc_devtree.c
+++ b/fs/proc/proc_devtree.c
@@ -218,8 +218,7 @@ void proc_device_tree_add_node(struct device_node *np,
218void __init proc_device_tree_init(void) 218void __init proc_device_tree_init(void)
219{ 219{
220 struct device_node *root; 220 struct device_node *root;
221 if ( !have_of ) 221
222 return;
223 proc_device_tree = proc_mkdir("device-tree", NULL); 222 proc_device_tree = proc_mkdir("device-tree", NULL);
224 if (proc_device_tree == 0) 223 if (proc_device_tree == 0)
225 return; 224 return;