Hi,

the armv7_match() function is unused as every platform implements its
own (e.g. imx_match(), exynos_match()).

Ok to remove?

Patrick

diff --git sys/arch/armv7/armv7/armv7.c sys/arch/armv7/armv7/armv7.c
index bf7735c..15cd592 100644
--- sys/arch/armv7/armv7/armv7.c
+++ sys/arch/armv7/armv7/armv7.c
@@ -90,12 +90,6 @@ armv7_find_dev(const char *name, int unit)
        return (NULL);
 }
 
-int
-armv7_match(struct device *parent, void *cfdata, void *aux)
-{
-       return (1);
-}
-
 extern char *hw_prod;
 
 void
diff --git sys/arch/armv7/armv7/armv7var.h sys/arch/armv7/armv7/armv7var.h
index b75358f..faefe70 100644
--- sys/arch/armv7/armv7/armv7var.h
+++ sys/arch/armv7/armv7/armv7var.h
@@ -70,7 +70,6 @@ extern struct armv7_dev *armv7_devs;
 
 void   armv7_set_devs(struct armv7_dev *);
 struct armv7_dev *armv7_find_dev(const char *, int);
-int    armv7_match(struct device *, void *, void *);
 void   armv7_attach(struct device *, struct device *, void *);
 int    armv7_submatch(struct device *, void *, void *);
 

Reply via email to