diff options
author | Jiaxin Yu <jiaxin.yu@mediatek.com> | 2021-11-25 12:24:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-25 11:54:28 +0000 |
commit | faf695517c1c77bb4a4b46d54007a283962eb00e (patch) | |
tree | e54db48fabc43cf4ab7893960eb89da5e09dbdf6 /tools/perf/scripts/python/stackcollapse.py | |
parent | cd2f33e93d578e9e1c47ef8981ec69298da9cb38 (diff) |
ASoC: mediatek: remove unnecessary CONFIG_PM
The unnecessary conditional inclusion caused the following warning.
Such as:
>> sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused
>> variable 'mt8192_afe_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops mt8192_afe_pm_ops = {
Because runtime_pm already handles the case without CONFIG_PM, we
can remove CONFIG_PM condition.
Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211125042422.2349-1-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions