summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorZhang Yiqun <zhangyiqun@phytium.com.cn>2023-02-09 15:17:23 +0300
committerTakashi Iwai <tiwai@suse.de>2023-02-10 12:06:50 +0300
commit4fe20d62842eaa858267df1535f3e2bd39275c4a (patch)
tree9001a6c42e52137effed4108b6a530b2917c2efa /sound/pci
parent86bdfa267a222c85f95664208e039b94e2ac913b (diff)
downloadlinux-4fe20d62842eaa858267df1535f3e2bd39275c4a.tar.xz
ALSA: hda: remove redundant variable in snd_hdac_stream_start()
This 2nd variables are all set as true in treewide. So I think it can be removed for easy understanding. Signed-off-by: Zhang Yiqun <zhangyiqun@phytium.com.cn> Acked-by: Mark Brown <broonie@kernel.org> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230209121723.14328-1-zhangyiqun@phytium.com.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/hda_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
index 083df287c1a4..406779625fb5 100644
--- a/sound/pci/hda/hda_controller.c
+++ b/sound/pci/hda/hda_controller.c
@@ -257,7 +257,7 @@ static int azx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
azx_dev = get_azx_dev(s);
if (start) {
azx_dev->insufficient = 1;
- snd_hdac_stream_start(azx_stream(azx_dev), true);
+ snd_hdac_stream_start(azx_stream(azx_dev));
} else {
snd_hdac_stream_stop(azx_stream(azx_dev));
}