svn commit: r273626 - stable/10/sys/arm/ti
Rui Paulo
rpaulo at FreeBSD.org
Sat Oct 25 02:08:03 UTC 2014
Author: rpaulo
Date: Sat Oct 25 02:08:02 2014
New Revision: 273626
URL: https://svnweb.freebsd.org/changeset/base/273626
Log:
MFC r273261:
Remove an unused mutex.
Modified:
stable/10/sys/arm/ti/ti_wdt.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/arm/ti/ti_wdt.c
==============================================================================
--- stable/10/sys/arm/ti/ti_wdt.c Sat Oct 25 02:06:40 2014 (r273625)
+++ stable/10/sys/arm/ti/ti_wdt.c Sat Oct 25 02:08:02 2014 (r273626)
@@ -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-stable
mailing list