Commit 96961fa0 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: memalloc: Drop superfluous ifndef

Drop the superfluous #ifndef check in memalloc.h that had been put
just for allowing building the alsa-driver kernel modules externally.
Since the external build was discontinued years ago, let's clean up
the old kludges.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 45e5fbc2
...@@ -34,11 +34,9 @@ struct snd_dma_device { ...@@ -34,11 +34,9 @@ struct snd_dma_device {
struct device *dev; /* generic device */ struct device *dev; /* generic device */
}; };
#ifndef snd_dma_pci_data
#define snd_dma_pci_data(pci) (&(pci)->dev) #define snd_dma_pci_data(pci) (&(pci)->dev)
#define snd_dma_isa_data() NULL #define snd_dma_isa_data() NULL
#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x)) #define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x))
#endif
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment