ALSA: memalloc: Drop snd_dma_pci_data() macro
diff mbox series

Message ID 20191108164637.1110-1-tiwai@suse.de
State New
Headers show
Series
  • ALSA: memalloc: Drop snd_dma_pci_data() macro
Related show

Commit Message

Takashi Iwai Nov. 8, 2019, 4:46 p.m. UTC
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(-)

Patch
diff mbox series

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))