summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-05 19:40:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-05 19:40:31 +0200
commitfa11c2804652809f93f79722e770890b07b3953e (patch)
tree272dddb7317f5247f4903ac8c3fd1ec6d23b9019 /kernel
parentMerge tag 'perf-core-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
parentperf/core: Remove unused local variable (diff)
downloadlinux-fa11c2804652809f93f79722e770890b07b3953e.tar.xz
linux-fa11c2804652809f93f79722e770890b07b3953e.zip
Merge tag 'perf-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Thomas Gleixner: - Make the ICL event constraints match reality - Remove a unused local variable * tag 'perf-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/core: Remove unused local variable perf/x86/intel: Fix event constraints for ICL
Diffstat (limited to 'kernel')
-rw-r--r--kernel/events/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 950b25c3f210..80782cddb1da 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4257,7 +4257,6 @@ static void perf_event_remove_on_exec(int ctxn)
{
struct perf_event_context *ctx, *clone_ctx = NULL;
struct perf_event *event, *next;
- LIST_HEAD(free_list);
unsigned long flags;
bool modified = false;