summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l42-sdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cs42l42-sdw.c')
-rw-r--r--sound/soc/codecs/cs42l42-sdw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs42l42-sdw.c b/sound/soc/codecs/cs42l42-sdw.c
index 7b539ee55499..eeab07c850f9 100644
--- a/sound/soc/codecs/cs42l42-sdw.c
+++ b/sound/soc/codecs/cs42l42-sdw.c
@@ -152,9 +152,6 @@ static int cs42l42_sdw_port_prep(struct sdw_slave *slave,
static int cs42l42_sdw_dai_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
int direction)
{
- if (!sdw_stream)
- return 0;
-
snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
return 0;