projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b316a8
)
ALSA: memalloc: Drop snd_dma_pci_data() macro
author
Takashi Iwai
<tiwai@suse.de>
Tue, 5 Nov 2019 07:14:59 +0000
(08:14 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 11 Nov 2019 08:14:07 +0000
(09:14 +0100)
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>
include/sound/memalloc.h
patch
|
blob
|
history
diff --git
a/include/sound/memalloc.h
b/include/sound/memalloc.h
index 6ada3b8ede4ed3b00a070d1872a0163cfab8dcf1..3b47832b1c1f7f060032e7ef722ae40bf9f754af 100644
(file)
--- 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))