aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-05-24 11:14:13 +0200
committerTakashi Iwai <tiwai@suse.de>2018-05-24 11:14:13 +0200
commit96961fa048cf2eef2b53cbc26313629937198996 (patch)
tree46280e13940932807e4299d12c8b278d2990b302 /include/sound
parentALSA: hda: Add ASRock H81M-HDS to the power_save blacklist (diff)
downloadlinux-dev-96961fa048cf2eef2b53cbc26313629937198996.tar.xz
linux-dev-96961fa048cf2eef2b53cbc26313629937198996.zip
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/memalloc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h
index 782d1df34208..9c3db3dce32b 100644
--- a/include/sound/memalloc.h
+++ b/include/sound/memalloc.h
@@ -34,11 +34,9 @@ struct snd_dma_device {
struct device *dev; /* generic device */
};
-#ifndef snd_dma_pci_data
#define snd_dma_pci_data(pci) (&(pci)->dev)
#define snd_dma_isa_data() NULL
#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x))
-#endif
/*