]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Make snd_pcm_suspend() local static
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2019 09:54:02 +0000 (10:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2019 16:48:23 +0000 (17:48 +0100)
commit2d6e5eca65068755416f0559b7f9eb63702c4aeb
tree9f6be2034089a6528aa170723f40a5fa9edab165
parentd8a56dc03b00ffce6fd1143874e8d669f66a29b5
ALSA: pcm: Make snd_pcm_suspend() local static

snd_pcm_suspend() is no longer called from outside, so let's make it
local static.  Also drop a superfluous NULL check there.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_native.c