diff options
| author | Dr. David Alan Gilbert <linux@treblig.org> | 2025-05-03 00:52:15 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-05-05 12:36:29 +0200 |
| commit | 15b39ced6247666f616e3b0b8eeb42cd4a8a11f2 (patch) | |
| tree | 7f81e55a2d24560cb2d698ddbebc5ae8de42f2bb /include | |
| parent | 9fa6a693ad8dc0cd34833632883767083b8fc1f5 (diff) | |
ALSA: pcm: Remove unused snd_pcm_rate_range_to_bits
The last use of snd_pcm_rate_range_to_bits() was removed in 2016 by
commit b6b6e4d670c9 ("ASoC: topology: Fix setting of stream rates, rate_min
and rate_max")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250502235219.1000429-2-linux@treblig.org
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/pcm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 8becb4504887..a268de860259 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -1251,8 +1251,6 @@ unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate); unsigned int snd_pcm_rate_bit_to_rate(unsigned int rate_bit); unsigned int snd_pcm_rate_mask_intersect(unsigned int rates_a, unsigned int rates_b); -unsigned int snd_pcm_rate_range_to_bits(unsigned int rate_min, - unsigned int rate_max); /** * snd_pcm_set_runtime_buffer - Set the PCM runtime buffer |
