diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-09 12:47:29 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-16 07:52:57 +0300 |
commit | 6b82b3e4b54b2fce2ca11976c535012b836b2016 (patch) | |
tree | f7d74baec148a5f8d5227c57ef8250481bdb8949 /fs/proc/proc_devtree.c | |
parent | 0efbb57e06d881a39a7f261e5c33558aedec0f79 (diff) | |
download | linux-6b82b3e4b54b2fce2ca11976c535012b836b2016.tar.xz |
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/proc/proc_devtree.c')
-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; |