Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2020 18:25:30 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360076 - head/sys/dev/sound/pci/hda
Message-ID:  <202004181825.03IIPUfW034722@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sat Apr 18 18:25:30 2020
New Revision: 360076
URL: https://svnweb.freebsd.org/changeset/base/360076

Log:
  hda: remove hda*_lockowned macros
  
  These are not used anywhere.

Modified:
  head/sys/dev/sound/pci/hda/hdaa.c
  head/sys/dev/sound/pci/hda/hdac.c
  head/sys/dev/sound/pci/hda/hdacc.c

Modified: head/sys/dev/sound/pci/hda/hdaa.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdaa.c	Sat Apr 18 15:05:10 2020	(r360075)
+++ head/sys/dev/sound/pci/hda/hdaa.c	Sat Apr 18 18:25:30 2020	(r360076)
@@ -52,7 +52,6 @@ SND_DECLARE_FILE("$FreeBSD$");
 #define hdaa_lock(devinfo)	snd_mtxlock((devinfo)->lock)
 #define hdaa_unlock(devinfo)	snd_mtxunlock((devinfo)->lock)
 #define hdaa_lockassert(devinfo) snd_mtxassert((devinfo)->lock)
-#define hdaa_lockowned(devinfo)	mtx_owned((devinfo)->lock)
 
 static const struct {
 	const char *key;

Modified: head/sys/dev/sound/pci/hda/hdac.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.c	Sat Apr 18 15:05:10 2020	(r360075)
+++ head/sys/dev/sound/pci/hda/hdac.c	Sat Apr 18 18:25:30 2020	(r360076)
@@ -56,7 +56,6 @@ SND_DECLARE_FILE("$FreeBSD$");
 #define hdac_lock(sc)		snd_mtxlock((sc)->lock)
 #define hdac_unlock(sc)		snd_mtxunlock((sc)->lock)
 #define hdac_lockassert(sc)	snd_mtxassert((sc)->lock)
-#define hdac_lockowned(sc)	mtx_owned((sc)->lock)
 
 #define HDAC_QUIRK_64BIT	(1 << 0)
 #define HDAC_QUIRK_DMAPOS	(1 << 1)

Modified: head/sys/dev/sound/pci/hda/hdacc.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdacc.c	Sat Apr 18 15:05:10 2020	(r360075)
+++ head/sys/dev/sound/pci/hda/hdacc.c	Sat Apr 18 18:25:30 2020	(r360076)
@@ -65,7 +65,6 @@ struct hdacc_softc {
 #define hdacc_lock(codec)	snd_mtxlock((codec)->lock)
 #define hdacc_unlock(codec)	snd_mtxunlock((codec)->lock)
 #define hdacc_lockassert(codec)	snd_mtxassert((codec)->lock)
-#define hdacc_lockowned(codec)	mtx_owned((codec)->lock)
 
 MALLOC_DEFINE(M_HDACC, "hdacc", "HDA CODEC");
 



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