Date: Tue, 12 May 2009 19:33:36 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192024 - head/sys/dev/lge Message-ID: <200905121933.n4CJXaTG031146@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Tue May 12 19:33:36 2009 New Revision: 192024 URL: http://svn.freebsd.org/changeset/base/192024 Log: Remove unused variable. Found with: Coverity Prevent(tm) CID: 549 Modified: head/sys/dev/lge/if_lge.c Modified: head/sys/dev/lge/if_lge.c ============================================================================== --- head/sys/dev/lge/if_lge.c Tue May 12 19:30:46 2009 (r192023) +++ head/sys/dev/lge/if_lge.c Tue May 12 19:33:36 2009 (r192024) @@ -1257,7 +1257,6 @@ lge_init_locked(sc) struct lge_softc *sc; { struct ifnet *ifp = sc->lge_ifp; - struct mii_data *mii; LGE_LOCK_ASSERT(sc); if (ifp->if_drv_flags & IFF_DRV_RUNNING) @@ -1269,8 +1268,6 @@ lge_init_locked(sc) lge_stop(sc); lge_reset(sc); - mii = device_get_softc(sc->lge_miibus); - /* Set MAC address */ CSR_WRITE_4(sc, LGE_PAR0, *(u_int32_t *)(&IF_LLADDR(sc->lge_ifp)[0])); CSR_WRITE_4(sc, LGE_PAR1, *(u_int32_t *)(&IF_LLADDR(sc->lge_ifp)[4]));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905121933.n4CJXaTG031146>