svn commit: r273261 - head/sys/arm/ti
Rui Paulo
rpaulo at FreeBSD.org
Sat Oct 18 17:36:58 UTC 2014
Author: rpaulo
Date: Sat Oct 18 17:36:57 2014
New Revision: 273261
URL: https://svnweb.freebsd.org/changeset/base/273261
Log:
Remove an unused mutex.
MFC after: 1 week
Modified:
head/sys/arm/ti/ti_wdt.c
Modified: head/sys/arm/ti/ti_wdt.c
==============================================================================
--- head/sys/arm/ti/ti_wdt.c Sat Oct 18 17:23:41 2014 (r273260)
+++ head/sys/arm/ti/ti_wdt.c Sat Oct 18 17:36:57 2014 (r273261)
@@ -69,7 +69,6 @@ static void ti_wdt_intr(void *);
static void ti_wdt_event(void *, unsigned int, int *);
struct ti_wdt_softc {
- struct mtx sc_mtx;
struct resource *sc_mem_res;
struct resource *sc_irq_res;
void *sc_intr;
@@ -161,7 +160,6 @@ ti_wdt_attach(device_t dev)
sc = device_get_softc(dev);
rid = 0;
- mtx_init(&sc->sc_mtx, "TI WDT", NULL, MTX_DEF);
sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE);
if (sc->sc_mem_res == NULL) {
More information about the svn-src-all
mailing list