From: Mark Brown Date: Sat, 19 Oct 2013 13:17:03 +0000 (+0100) Subject: ASoC: tegra: Remove redundant initialisation of compat_filter_fn X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0eef5381b7271702c7e65c637cb46804c482a90a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: tegra: Remove redundant initialisation of compat_filter_fn 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 Acked-by: Lars-Peter Clausen Acked-by: Stephen Warren --- diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c index f056f632557c..7b2d23ba69b3 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, };