diff mbox series

[3/9] ASoC: Intel: Haswell: remove unneeded semicolon

Message ID 20181216224910.16198-4-pierre-louis.bossart@linux.intel.com (mailing list archive)
State Accepted
Commit 6c5414589721d696fe300dc0b8720e0368e3907a
Headers show
Series ASoC: Intel: fix Coccinelle and Sparse warnings | expand

Commit Message

Pierre-Louis Bossart Dec. 16, 2018, 10:49 p.m. UTC
Detected with Coccinelle

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/intel/haswell/sst-haswell-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/intel/haswell/sst-haswell-pcm.c b/sound/soc/intel/haswell/sst-haswell-pcm.c
index fe2c826e710c..fb9b8608eb3b 100644
--- a/sound/soc/intel/haswell/sst-haswell-pcm.c
+++ b/sound/soc/intel/haswell/sst-haswell-pcm.c
@@ -544,7 +544,7 @@  static int hsw_pcm_hw_params(struct snd_pcm_substream *substream,
 		dev_err(rtd->dev, "error: invalid DAI ID %d\n",
 			rtd->cpu_dai->id);
 		return -EINVAL;
-	};
+	}
 
 	ret = sst_hsw_stream_format(hsw, pcm_data->stream,
 		path_id, stream_type, SST_HSW_STREAM_FORMAT_PCM_FORMAT);