mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
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:
parent
0efbb57e06
commit
6b82b3e4b5
6 changed files with 2 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue