diff options
author | 2017-06-14 07:41:43 +0000 | |
---|---|---|
committer | 2017-06-14 10:47:25 +0100 | |
commit | f30b4ca4447095f6923b59ffaa25ca6a54daffac (patch) | |
tree | 67fa6866ba7990cef4b37c5d3504c4dd1e0a6013 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: rsnd: control kctrl items acceptance anytime/runtime (diff) | |
download | linux-dev-f30b4ca4447095f6923b59ffaa25ca6a54daffac.tar.xz linux-dev-f30b4ca4447095f6923b59ffaa25ca6a54daffac.zip |
ASoC: rsnd: reduce confusable macro parameter magic
rsnd_dai_call() macro is using "priv" inside.
Thus, if caller function doesn't have "priv" related operation, strange
phenomenon occur which code is using "priv", but compiler indicates
"unused variable 'priv'".
>From code point of view, it is not problem, but it is very confusable.
This patch removes "priv" from rsnd_dai_call() macro, and adds "priv"
on caller function.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions