--- arch/arm/mach-mvebu/dove.c | 2 -- arch/arm/mach-mvebu/kirkwood.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c index d6407f394229..9a3b05d004d5 100644 --- a/arch/arm/mach-mvebu/dove.c +++ b/arch/arm/mach-mvebu/dove.c @@ -54,8 +54,6 @@ static void __noreturn dove_restart_soc(struct restart_handler *rst) static int dove_init_soc(struct device_node *root, void *context) { - unsigned long phys_base, phys_size; - if (!of_machine_is_compatible("marvell,dove")) return 0; diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 51eb69fc4e7f..d5ddf05e3447 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -31,8 +31,6 @@ static void __noreturn kirkwood_restart_soc(struct restart_handler *rst) static int kirkwood_init_soc(struct device_node *root, void *context) { - unsigned long phys_base, phys_size; - if (!of_machine_is_compatible("marvell,kirkwood")) return 0; -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox