Date: Sat, 15 Jan 2011 19:16:56 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217452 - head/sys/dev/iicbus Message-ID: <201101151916.p0FJGuoV034475@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101151916.p0FJGuoV034475>