hda: remove hda*_lockowned macros
These are not used anywhere.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user