ALSA: hda: cs35l56: Don't 'return ret' if ret is always zero
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 14 Sep 2023 14:08:52 +0000 (15:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Sep 2023 14:29:43 +0000 (16:29 +0200)
commit72ca56664e483de991ae4afa623e54570f81ebde
tree3ca2e65ccd47c0ab5376973fa23e29c54638dbed
parent26f7111abd8e15726c93bafe16a349f1db2f14e0
ALSA: hda: cs35l56: Don't 'return ret' if ret is always zero

The final return in cs35l56_hda_posture_get() was returning the
value of 'ret', but ret is always zero at this point. So this
can be a simple 'return 0'.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230914140852.7112-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l56_hda.c