diff --git a/sys/arm/allwinner/a10_timer.c b/sys/arm/allwinner/a10_timer.c index 1812e9bc85e..239ae10e0c9 100644 --- a/sys/arm/allwinner/a10_timer.c +++ b/sys/arm/allwinner/a10_timer.c @@ -171,13 +171,10 @@ static struct ofw_compat_data compat_data[] = { static int a10_timer_probe(device_t dev) { - struct a10_timer_softc *sc; #if defined(__arm__) u_int soc_family; #endif - sc = device_get_softc(dev); - if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) return (ENXIO);