* [alsa-devel] [PATCH] ALSA: memalloc: Drop snd_dma_pci_data() macro
@ 2019-11-08 16:46 Takashi Iwai
0 siblings, 0 replies; only message in thread
From: Takashi Iwai @ 2019-11-08 16:46 UTC (permalink / raw)
To: alsa-devel
Now that all users have been converted, we can drop snd_dma_pci_data()
macro definition.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
include/sound/memalloc.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h
index 6ada3b8ede4e..3b47832b1c1f 100644
--- a/include/sound/memalloc.h
+++ b/include/sound/memalloc.h
@@ -21,7 +21,6 @@ struct snd_dma_device {
struct device *dev; /* generic device */
};
-#define snd_dma_pci_data(pci) (&(pci)->dev)
#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x))
--
2.16.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-08 16:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 16:46 [alsa-devel] [PATCH] ALSA: memalloc: Drop snd_dma_pci_data() macro Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).