diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-06-12 15:50:48 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-07-03 09:54:37 +0900 |
commit | ec03bedea1b652f9e71bf4908d7dfe62d84c8717 (patch) | |
tree | 6250569c9fc58d8c4566de76abad2898f137cc62 /sound | |
parent | f38e5ce3c5701f7c1a9cbbab152018e2c1bd60b0 (diff) | |
download | linux-3.10-ec03bedea1b652f9e71bf4908d7dfe62d84c8717.tar.gz linux-3.10-ec03bedea1b652f9e71bf4908d7dfe62d84c8717.tar.bz2 linux-3.10-ec03bedea1b652f9e71bf4908d7dfe62d84c8717.zip |
ASoC: odroidx2_max98090: Drop unneeded assignment to NULL
odroidx2_dai is a static variable so reinitialization of some
of its members to NULL can be removed.
Change-Id: I8448a6166a5008640ef3fd5d467acbcbc8e3cea9
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/odroidx2_max98090.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c index 4ac69024619..db535f350eb 100644 --- a/sound/soc/samsung/odroidx2_max98090.c +++ b/sound/soc/samsung/odroidx2_max98090.c @@ -86,7 +86,6 @@ static int odroidx2_audio_probe(struct platform_device *pdev) card->dev = &pdev->dev; - odroidx2_dai[0].codec_name = NULL; odroidx2_dai[0].codec_of_node = of_parse_phandle(np, "samsung,audio-codec", 0); if (!odroidx2_dai[0].codec_of_node) { @@ -95,7 +94,6 @@ static int odroidx2_audio_probe(struct platform_device *pdev) return -EINVAL; } - odroidx2_dai[0].cpu_name = NULL; odroidx2_dai[0].cpu_of_node = of_parse_phandle(np, "samsung,i2s-controller", 0); if (!odroidx2_dai[0].cpu_of_node) { @@ -107,7 +105,6 @@ static int odroidx2_audio_probe(struct platform_device *pdev) odroidx2_dai[0].platform_of_node = odroidx2_dai[0].cpu_of_node; /* Configure the secondary audio interface with the same codec dai */ - odroidx2_dai[1].codec_name = NULL; odroidx2_dai[1].codec_of_node = odroidx2_dai[0].codec_of_node; return snd_soc_register_card(card); |