svn commit: r217452 - head/sys/dev/iicbus
Andreas Tobler
andreast at FreeBSD.org
Sat Jan 15 19:16:56 UTC 2011
Author: andreast
Date: Sat Jan 15 19:16:56 2011
New Revision: 217452
URL: http://svn.freebsd.org/changeset/base/217452
Log:
Remove unused variable. Spotted by a cppcheck
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run.
Approved by: nwhitehorn (mentor)
Modified:
head/sys/dev/iicbus/max6690.c
Modified: head/sys/dev/iicbus/max6690.c
==============================================================================
--- head/sys/dev/iicbus/max6690.c Sat Jan 15 19:16:05 2011 (r217451)
+++ head/sys/dev/iicbus/max6690.c Sat Jan 15 19:16:56 2011 (r217452)
@@ -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);
More information about the svn-src-all
mailing list