Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 17:36:57 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273261 - head/sys/arm/ti
Message-ID:  <201410181736.s9IHavh6060993@svn.freebsd.org>

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



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