ASoC: intel: Remove unused variable hsw
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2015 19:04:24 +0000 (21:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2015 19:04:24 +0000 (21:04 +0200)
The recent fix left a variable declaration without usage.
  sound/soc/intel/haswell/sst-haswell-pcm.c:1349:18: warning: unused variable ‘hsw’ [-Wunused-variable]

Fixes: edd8ed496b98 ('ASoC: Intel: handle haswell pcm suspend including runtime modules freeing')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/intel/haswell/sst-haswell-pcm.c

index e593e7a4b7a7c1f67a56bd57c06ab7dbb36f8ad6..1aa819c7e09b0ff95c36021c7a69c4cf90433634 100644 (file)
@@ -1346,7 +1346,6 @@ static void hsw_pcm_complete(struct device *dev)
 static int hsw_pcm_prepare(struct device *dev)
 {
        struct hsw_priv_data *pdata = dev_get_drvdata(dev);
-       struct sst_hsw *hsw = pdata->hsw;
        struct hsw_pcm_data *pcm_data;
        int i, err;
 
This page took 0.025413 seconds and 5 git commands to generate.