mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
commita1ea05723c
upstream. In commit772d44526e
("ASoC: rt5682: Properly turn off regulators if wrong device ID") I deleted code but forgot to delete a variable that's now unused. Delete it. Fixes:772d44526e
("ASoC: rt5682: Properly turn off regulators if wrong device ID") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20210813073402.1.Iaa9425cfab80f5233afa78b32d02b6dc23256eb3@changeid Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
808b4c3ca2
commit
1ede75c4f5
1 changed files with 0 additions and 2 deletions
|
@ -294,8 +294,6 @@ static void rt5682_i2c_shutdown(struct i2c_client *client)
|
|||
|
||||
static int rt5682_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
|
||||
|
||||
rt5682_i2c_shutdown(client);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue