From ddd0ce87bfdebbc92c639286a2bf1241f335e6c8 Mon Sep 17 00:00:00 2001 From: Kefeng Wang Date: Wed, 1 Jun 2016 14:53:01 +0800 Subject: mips: Remove unnecessary of_platform_populate with default match table After patch "of/platform: Add common method to populate default bus", it is possible for arch code to remove unnecessary callers of of_platform_populate with default match table. Cc: Ralf Baechle Cc: Alban Bedel Cc: Paul Burton Cc: James Hogan Cc: Joshua Henderson Cc: Zubair Lutfullah Kakakhel Signed-off-by: Kefeng Wang Signed-off-by: Rob Herring --- arch/mips/jz4740/setup.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/mips/jz4740') diff --git a/arch/mips/jz4740/setup.c b/arch/mips/jz4740/setup.c index 510fc0d962f2..0914ef775b5f 100644 --- a/arch/mips/jz4740/setup.c +++ b/arch/mips/jz4740/setup.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include @@ -74,13 +73,6 @@ void __init device_tree_init(void) unflatten_and_copy_device_tree(); } -static int __init populate_machine(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); - return 0; -} -arch_initcall(populate_machine); - const char *get_system_type(void) { if (config_enabled(CONFIG_MACH_JZ4780)) -- cgit v1.2.1