[alsa-devel] [PATCH] ASoC: tegra: Remove redundant initialisation of compat_filter_fn
Mark Brown
broonie at kernel.org
Sat Oct 19 15:17:03 CEST 2013
From: Mark Brown <broonie at linaro.org>
Setting a field in a static struct to NULL has no effect so don't bother
(and don't generate false positives for grep).
Signed-off-by: Mark Brown <broonie at linaro.org>
---
sound/soc/tegra/tegra_pcm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c
index f056f63..7b2d23b 100644
--- a/sound/soc/tegra/tegra_pcm.c
+++ b/sound/soc/tegra/tegra_pcm.c
@@ -56,7 +56,6 @@ static const struct snd_pcm_hardware tegra_pcm_hardware = {
static const struct snd_dmaengine_pcm_config tegra_dmaengine_pcm_config = {
.pcm_hardware = &tegra_pcm_hardware,
.prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config,
- .compat_filter_fn = NULL,
.prealloc_buffer_size = PAGE_SIZE * 8,
};
--
1.8.4.rc3
More information about the Alsa-devel
mailing list