Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b193deea authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path

parent 917dac0f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@ static int __init afeb9260_soc_init(void)

	return 0;
err1:
	platform_device_del(afeb9260_snd_device);
	platform_device_put(afeb9260_snd_device);
	return err;
}