From: Kefeng Wang Date: Wed, 1 Jun 2016 06:52:55 +0000 (+0800) Subject: arc: Remove unnecessary of_platform_populate with default match table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=61c78644e7f1bd9445b3d7ddc3d35989a38985ee;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arc: 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. Acked-by: Vineet Gupta Cc: Vineet Gupta Signed-off-by: Kefeng Wang Signed-off-by: Rob Herring --- diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 2ee7a4d758a8..584c5f064ff3 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -435,12 +434,6 @@ void __init setup_arch(char **cmdline_p) static int __init customize_machine(void) { - /* - * Traverses flattened DeviceTree - registering platform devices - * (if any) complete with their resources - */ - of_platform_default_populate(NULL, NULL, NULL); - if (machine_desc->init_machine) machine_desc->init_machine();