diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-08-24 08:03:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-08-24 08:04:56 +0200 |
commit | 384c687fb4ad0774aaae58ed7f43cc738aa57a73 (patch) | |
tree | da35994e3876cdcb9f7d144c6e372b0a942db02d /include/sound | |
parent | 18afcf90d8807fef66d1fd428eeb2b407df90fa8 (diff) | |
parent | 0db78532ff144a52757d636a26803099d78f431e (diff) | |
download | lwn-384c687fb4ad0774aaae58ed7f43cc738aa57a73.tar.gz lwn-384c687fb4ad0774aaae58ed7f43cc738aa57a73.zip |
Merge branch 'topic/memalloc-cleanup' into for-next
ALSA: Drop hackish GFP giveaway for CONTINUOUS pages
This is a series of cleanup patches for dropping the current hackish
way of passing the GFP_* flags for CONTINOUS and VMALLOC memory
allocations. There are only three users for this legacy feature, and
all of them seem superfluous. And, if any driver requires the memory
restriction in future, it can now pass the proper device pointer for
specifying the DMA mask.
Link: https://lore.kernel.org/r/20220823115740.14123-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/memalloc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h index 8d79cebf95f3..43d524580bd2 100644 --- a/include/sound/memalloc.h +++ b/include/sound/memalloc.h @@ -26,9 +26,6 @@ struct snd_dma_device { struct device *dev; /* generic device */ }; -#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x)) - - /* * buffer types */ |