Commit 8b69dba1 authored by Himanshu Bhavani's avatar Himanshu Bhavani Committed by Mark Brown

ASoC: amd: acp: Remove redundant ret variable

Removed Unneeded variable: "ret"
Signed-off-by: default avatarHimanshu Bhavani <himanshu.bhavani@siliconsignals.io>

Link: https://msgid.link/r/20231218143214.939885-1-himanshu.bhavani@siliconsignals.ioSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ee00330a
...@@ -222,7 +222,6 @@ static int acp3x_es83xx_resume_post(struct snd_soc_card *card) ...@@ -222,7 +222,6 @@ static int acp3x_es83xx_resume_post(struct snd_soc_card *card)
static int acp3x_es83xx_configure_gpios(struct acp3x_es83xx_private *priv) static int acp3x_es83xx_configure_gpios(struct acp3x_es83xx_private *priv)
{ {
int ret = 0;
priv->enable_spk_gpio.crs_entry_index = 0; priv->enable_spk_gpio.crs_entry_index = 0;
priv->enable_hp_gpio.crs_entry_index = 1; priv->enable_hp_gpio.crs_entry_index = 1;
...@@ -245,7 +244,7 @@ static int acp3x_es83xx_configure_gpios(struct acp3x_es83xx_private *priv) ...@@ -245,7 +244,7 @@ static int acp3x_es83xx_configure_gpios(struct acp3x_es83xx_private *priv)
priv->enable_spk_gpio.active_low ? "low" : "high", priv->enable_spk_gpio.active_low ? "low" : "high",
priv->enable_hp_gpio.crs_entry_index, priv->enable_hp_gpio.crs_entry_index,
priv->enable_hp_gpio.active_low ? "low" : "high"); priv->enable_hp_gpio.active_low ? "low" : "high");
return ret; return 0;
} }
static int acp3x_es83xx_configure_mics(struct acp3x_es83xx_private *priv) static int acp3x_es83xx_configure_mics(struct acp3x_es83xx_private *priv)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment