diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-09 09:47:29 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-16 15:52:57 +1100 |
commit | 6b82b3e4b54b2fce2ca11976c535012b836b2016 (patch) | |
tree | f7d74baec148a5f8d5227c57ef8250481bdb8949 /fs | |
parent | 0efbb57e06d881a39a7f261e5c33558aedec0f79 (diff) | |
download | blackbird-op-linux-6b82b3e4b54b2fce2ca11976c535012b836b2016.tar.gz blackbird-op-linux-6b82b3e4b54b2fce2ca11976c535012b836b2016.zip |
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.c | 3 |
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, void __init proc_device_tree_init(void) { struct device_node *root; - if ( !have_of ) - return; + proc_device_tree = proc_mkdir("device-tree", NULL); if (proc_device_tree == 0) return; |