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>
This commit is contained in:
committed by
Paul Mackerras
parent
0efbb57e06
commit
6b82b3e4b5
@@ -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;
|
||||
|
Reference in New Issue
Block a user