提交 96961fa0 编写于 作者: T 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: NTakashi Iwai <tiwai@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册