summaryrefslogtreecommitdiff
path: root/sound/soc/zte/zx-tdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/zte/zx-tdm.c')
-rw-r--r--sound/soc/zte/zx-tdm.c1
1 files changed, 0 insertions, 1 deletions
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;
}