arm: allwinner: a10_timer: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
89f8aa7d41
commit
8604ba7423
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user