Ver código fonte

ASoC: intel: Remove unused variable hsw

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>
Takashi Iwai 10 anos atrás
pai
commit
01ec65c812
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      sound/soc/intel/haswell/sst-haswell-pcm.c

+ 0 - 1
sound/soc/intel/haswell/sst-haswell-pcm.c

@@ -1346,7 +1346,6 @@ static void hsw_pcm_complete(struct device *dev)
 static int hsw_pcm_prepare(struct device *dev)
 static int hsw_pcm_prepare(struct device *dev)
 {
 {
 	struct hsw_priv_data *pdata = dev_get_drvdata(dev);
 	struct hsw_priv_data *pdata = dev_get_drvdata(dev);
-	struct sst_hsw *hsw = pdata->hsw;
 	struct hsw_pcm_data *pcm_data;
 	struct hsw_pcm_data *pcm_data;
 	int i, err;
 	int i, err;