[alsa-devel] [asoc:topic/twl6040 1/2] sound/soc/codecs/twl6040.c:1156:71-72: remove: first occurrence line 1158, second occurrence line 1160 (fwd)

Julia Lawall julia.lawall at lip6.fr
Mon Mar 12 23:09:18 CET 2018


There are two initializations of the remove field.  Both give it the same
value, so one can just be dropped.

julia

---------- Forwarded message ----------
Date: Tue, 13 Mar 2018 05:55:05 +0800
From: kbuild test robot <fengguang.wu at intel.com>
To: kbuild at 01.org
Cc: Julia Lawall <julia.lawall at lip6.fr>
Subject: [asoc:topic/twl6040 1/2] sound/soc/codecs/twl6040.c:1156:71-72: remove:
     first occurrence line 1158, second occurrence line 1160

CC: kbuild-all at 01.org
CC: alsa-devel at alsa-project.org
TO: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
CC: Mark Brown <broonie at kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/twl6040
head:   c9d066650cd5adf4ed4bf5734386699e765222b7
commit: 7480389fb0d873ed78619542bf5d2717a7ad7786 [1/2] ASoC: twl6040: replace codec to component
:::::: branch date: 5 hours ago
:::::: commit date: 4 weeks ago

>> sound/soc/codecs/twl6040.c:1156:71-72: remove: first occurrence line 1158, second occurrence line 1160

# https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?id=7480389fb0d873ed78619542bf5d2717a7ad7786
git remote add asoc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
git remote update asoc
git checkout 7480389fb0d873ed78619542bf5d2717a7ad7786
vim +1156 sound/soc/codecs/twl6040.c

8ecbabd9 Misael Lopez Cruz 2010-03-19  1155
7480389f Kuninori Morimoto 2018-01-29 @1156  static const struct snd_soc_component_driver soc_component_dev_twl6040 = {
f0fba2ad Liam Girdwood     2010-03-17  1157  	.probe			= twl6040_probe,
f0fba2ad Liam Girdwood     2010-03-17 @1158  	.remove			= twl6040_remove,
8146acff Tony Lindgren     2018-01-25  1159  	.read			= twl6040_read,
7480389f Kuninori Morimoto 2018-01-29 @1160  	.remove			= twl6040_remove,
f0fba2ad Liam Girdwood     2010-03-17  1161  	.set_bias_level		= twl6040_set_bias_level,
a175fce0 Peter Ujfalusi    2011-10-11  1162  	.controls		= twl6040_snd_controls,
a175fce0 Peter Ujfalusi    2011-10-11  1163  	.num_controls		= ARRAY_SIZE(twl6040_snd_controls),
a175fce0 Peter Ujfalusi    2011-10-11  1164  	.dapm_widgets		= twl6040_dapm_widgets,
a175fce0 Peter Ujfalusi    2011-10-11  1165  	.num_dapm_widgets	= ARRAY_SIZE(twl6040_dapm_widgets),
a175fce0 Peter Ujfalusi    2011-10-11  1166  	.dapm_routes		= intercon,
a175fce0 Peter Ujfalusi    2011-10-11  1167  	.num_dapm_routes	= ARRAY_SIZE(intercon),
7480389f Kuninori Morimoto 2018-01-29  1168  	.suspend_bias_off	= 1,
7480389f Kuninori Morimoto 2018-01-29  1169  	.idle_bias_on		= 1,
7480389f Kuninori Morimoto 2018-01-29  1170  	.endianness		= 1,
7480389f Kuninori Morimoto 2018-01-29  1171  	.non_legacy_dai_naming	= 1,
f0fba2ad Liam Girdwood     2010-03-17  1172  };
f0fba2ad Liam Girdwood     2010-03-17  1173

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the Alsa-devel mailing list