Skip to content

Commit

Permalink
ASoc: tpa6130a2: Remove unnecessary variable
Browse files Browse the repository at this point in the history
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Ilkka Koskinen authored and Mark Brown committed Jan 4, 2010
1 parent 40ca114 commit a126fd5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sound/soc/codecs/tpa6130a2.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,8 @@ static const struct snd_kcontrol_new tpa6130a2_controls[] = {
*/
static void tpa6130a2_channel_enable(u8 channel, int enable)
{
struct tpa6130a2_data *data;
u8 val;

BUG_ON(tpa6130a2_client == NULL);
data = i2c_get_clientdata(tpa6130a2_client);

if (enable) {
/* Enable channel */
/* Enable amplifier */
Expand Down

0 comments on commit a126fd5

Please sign in to comment.