summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-08-11 21:38:01 +0200
committerMark Brown <broonie@kernel.org>2015-08-13 12:40:16 +0100
commit6e588a0d839b51bae49852b68740a25cacc91978 (patch)
tree45b25b05c35879cd9589bad7d3bed2ccc59444ef /sound
parenta3423b02cf745c1418f1f199646c450d6fc9ca4e (diff)
ASoC: dapm: Consolidate path trace events
The snd_soc_dapm_input_path and snd_soc_dapm_output_path trace events are identical except for the direction. Instead of having two events have a single one that has a field that contains the direction. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 27b7fd96e819..cf2a0696b4a7 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1047,15 +1047,6 @@ static int dapm_widget_list_create(struct snd_soc_dapm_widget_list **list,
return 0;
}
-static void trace_snd_soc_dapm_path(struct snd_soc_dapm_widget *w,
- enum snd_soc_dapm_direction dir, struct snd_soc_dapm_path *p)
-{
- if (dir == SND_SOC_DAPM_DIR_IN)
- trace_snd_soc_dapm_input_path(w, p);
- else
- trace_snd_soc_dapm_output_path(w, p);
-}
-
/*
* Common implementation for is_connected_output_ep() and
* is_connected_input_ep(). The function is inlined since the combined size of