Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 02:08:02 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r273626 - stable/10/sys/arm/ti
Message-ID:  <201410250208.s9P2824a090385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410250208.s9P2824a090385>