Message ID | 20190731223234.16153-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f24e41d3d04f326613d8a7ebecf72c3019826f71 |
Headers | show |
Series | ASoC: zx-tdm: remove redundant assignment to ts_width on error return path | expand |
diff --git a/sound/soc/zte/zx-tdm.c b/sound/soc/zte/zx-tdm.c index 5e877fe9ba7b..0e5a05b25a77 100644 --- a/sound/soc/zte/zx-tdm.c +++ b/sound/soc/zte/zx-tdm.c @@ -211,7 +211,6 @@ static int zx_tdm_hw_params(struct snd_pcm_substream *substream, ts_width = 1; break; default: - ts_width = 0; dev_err(socdai->dev, "Unknown data format\n"); return -EINVAL; }