diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-06-12 15:50:48 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:59:51 +0900 |
commit | 717ca75d70bee9e7509a89ac85eafaa559f71758 (patch) | |
tree | 0f364ca9cd8e2b52cac82339d695d121f2616bbf /sound | |
parent | 586c202c477645e2167f36dfecf6741764e09c52 (diff) | |
download | linux-3.10-717ca75d70bee9e7509a89ac85eafaa559f71758.tar.gz linux-3.10-717ca75d70bee9e7509a89ac85eafaa559f71758.tar.bz2 linux-3.10-717ca75d70bee9e7509a89ac85eafaa559f71758.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); |