From: Andrew Jackson Date: Tue, 27 Jan 2015 20:38:28 +0000 (+0000) Subject: ASoC: dwc: Remove unnecessary conditional compilation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=acae254a8e08b9406e62d456000ebd1573af0cb6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ASoC: dwc: Remove unnecessary conditional compilation of_match_ptr is already conditionally compiled based on CONFIG_OF so further conditional compilation is not required. Remove conditional compilation surrounding of_match_ptr. Signed-off-by: Andrew Jackson Signed-off-by: Mark Brown --- diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c index adefdf0e01f1..8fbf0381ee53 100644 --- a/sound/soc/dwc/designware_i2s.c +++ b/sound/soc/dwc/designware_i2s.c @@ -613,9 +613,7 @@ static struct platform_driver dw_i2s_driver = { .remove = dw_i2s_remove, .driver = { .name = "designware-i2s", -#ifdef CONFIG_OF .of_match_table = of_match_ptr(dw_i2s_of_match), -#endif }, };