[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b86ede48c70d4f57bb72d52045e4f2afe12a88ae.1451312334.git.geliangtang@163.com>
Date: Mon, 28 Dec 2015 22:47:11 +0800
From: Geliang Tang <geliangtang@....com>
To: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Vinod Koul <vinod.koul@...el.com>
Cc: Geliang Tang <geliangtang@....com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/4] ALSA: hdac: drop unused dev_to_hdac macro
dev_to_hdac is not used anymore so drop it.
Signed-off-by: Geliang Tang <geliangtang@....com>
---
sound/hda/ext/hdac_ext_bus.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c
index 2433f7c..58f6b98 100644
--- a/sound/hda/ext/hdac_ext_bus.c
+++ b/sound/hda/ext/hdac_ext_bus.c
@@ -197,8 +197,6 @@ void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus)
}
}
EXPORT_SYMBOL_GPL(snd_hdac_ext_bus_device_remove);
-#define dev_to_hdac(dev) (container_of((dev), \
- struct hdac_device, dev))
static inline struct hdac_ext_driver *get_edrv(struct device *dev)
{
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists