Skip to content

Commit

Permalink
ALSA: memalloc: Drop snd_dma_pci_data() macro
Browse files Browse the repository at this point in the history
Now that all users have been converted, we can drop snd_dma_pci_data()
macro definition.

Link: https://lore.kernel.org/r/20191108164637.1110-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Nov 11, 2019
1 parent 3b316a8 commit 2bc1e1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/sound/memalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))


Expand Down

0 comments on commit 2bc1e1f

Please sign in to comment.