]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: pcm: Make snd_pcm_hw_constraints_init() and _complete() static
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Jan 2020 16:28:25 +0000 (17:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Jan 2020 16:29:33 +0000 (17:29 +0100)
commitd662117c7a91b4f4db1d5458fe782cdf54f8359a
tree6324acd586b33a7f50d1f5180cfab3f96b12c1a2
parent2ba0176c709c103974cf55b6d373c4ea749c6391
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>
sound/core/pcm_local.h
sound/core/pcm_native.c