adt746x: Remove unused variables.
This commit is contained in:
parent
9a0cd76bb0
commit
773cfd2bf8
@ -472,7 +472,6 @@ adt746x_attach_fans(device_t dev)
|
||||
struct adt746x_softc *sc;
|
||||
struct sysctl_oid *oid, *fanroot_oid;
|
||||
struct sysctl_ctx_list *ctx;
|
||||
phandle_t child;
|
||||
char sysctl_name[32];
|
||||
int i, j;
|
||||
|
||||
@ -480,8 +479,6 @@ adt746x_attach_fans(device_t dev)
|
||||
|
||||
sc->sc_nfans = 0;
|
||||
|
||||
child = ofw_bus_get_node(dev);
|
||||
|
||||
/* Count the actual number of fans. */
|
||||
sc->sc_nfans = adt746x_fill_fan_prop(dev);
|
||||
|
||||
@ -600,7 +597,6 @@ adt746x_attach_sensors(device_t dev)
|
||||
struct adt746x_softc *sc;
|
||||
struct sysctl_oid *oid, *sensroot_oid;
|
||||
struct sysctl_ctx_list *ctx;
|
||||
phandle_t child;
|
||||
char sysctl_name[40];
|
||||
const char *unit;
|
||||
const char *desc;
|
||||
@ -609,7 +605,6 @@ adt746x_attach_sensors(device_t dev)
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
sc->sc_nsensors = 0;
|
||||
child = ofw_bus_get_node(dev);
|
||||
|
||||
/* Count the actual number of sensors. */
|
||||
sc->sc_nsensors = adt746x_fill_sensor_prop(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user