Remove unused variable. Spotted by a cppcheck
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor)
This commit is contained in:
parent
49ffb2cf8c
commit
b919d343a9
@ -209,7 +209,6 @@ max6690_attach(device_t dev)
|
||||
static void
|
||||
max6690_start(void *xdev)
|
||||
{
|
||||
phandle_t child;
|
||||
struct max6690_softc *sc;
|
||||
struct sysctl_oid *oid, *sensroot_oid;
|
||||
struct sysctl_ctx_list *ctx;
|
||||
@ -222,8 +221,6 @@ max6690_start(void *xdev)
|
||||
|
||||
sc->sc_nsensors = 0;
|
||||
|
||||
child = ofw_bus_get_node(dev);
|
||||
|
||||
/* Count the actual number of sensors. */
|
||||
sc->sc_nsensors = max6690_fill_sensor_prop(dev);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user