]> git.baikalelectronics.ru Git - kernel.git/commit
perf/core: Remove unused local variable
authorHaowen Bai <baihaowen@meizu.com>
Fri, 27 May 2022 10:03:54 +0000 (18:03 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 May 2022 10:14:16 +0000 (12:14 +0200)
commit921ad0433da8c1e8f04501948eab5f1df951e4d1
tree352dceb99b3e9d3503cbb11c8df3529336a4b00a
parent81c0bab521e50c519147856467dfcec5aa42dafa
perf/core: Remove unused local variable

Drop LIST_HEAD() where the variable it declares is never used.

Compiler probably never warned us, because the LIST_HEAD()
initializer is technically 'usage'.

[ mingo: Tweak changelog. ]

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/1653645835-29206-1-git-send-email-baihaowen@meizu.com
kernel/events/core.c