diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-16 17:28:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-16 17:29:33 +0100 |
commit | d662117c7a91b4f4db1d5458fe782cdf54f8359a (patch) | |
tree | 6324acd586b33a7f50d1f5180cfab3f96b12c1a2 /sound/core/pcm_local.h | |
parent | 2ba0176c709c103974cf55b6d373c4ea749c6391 (diff) | |
download | linux-stable-d662117c7a91b4f4db1d5458fe782cdf54f8359a.tar.gz linux-stable-d662117c7a91b4f4db1d5458fe782cdf54f8359a.tar.bz2 linux-stable-d662117c7a91b4f4db1d5458fe782cdf54f8359a.zip |
ALSA: pcm: Make snd_pcm_hw_constraints_init() and _complete() static
Both snd_pcm_hw_constraints_init() and _complete() functions are
called only from pcm_native.c, hence they can be static for further
optimization.
Link: https://lore.kernel.org/r/20200116162825.24792-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_local.h')
-rw-r--r-- | sound/core/pcm_local.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/pcm_local.h b/sound/core/pcm_local.h index 384efd002984..17a1a5d87098 100644 --- a/sound/core/pcm_local.h +++ b/sound/core/pcm_local.h @@ -20,9 +20,6 @@ void snd_interval_muldivk(const struct snd_interval *a, void snd_interval_mulkdiv(const struct snd_interval *a, unsigned int k, const struct snd_interval *b, struct snd_interval *c); -int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream); -int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream); - int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, u_int32_t mask); |