2023-08-09 16:55:10

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH] perf/x86: delete 2 unused forward declarations

Maybe those were necessary at some point, but they aren't necessary
any longer.

Signed-off-by: Alexey Dobriyan <[email protected]>
---

arch/x86/events/core.c | 3 ---
1 file changed, 3 deletions(-)

--- a/arch/x86/events/core.c
+++ b/arch/x86/events/core.c
@@ -1995,9 +1995,6 @@ ssize_t x86_event_sysfs_show(char *page, u64 config, u64 event)
return ret;
}

-static struct attribute_group x86_pmu_attr_group;
-static struct attribute_group x86_pmu_caps_group;
-
static void x86_pmu_static_call_update(void)
{
static_call_update(x86_pmu_handle_irq, x86_pmu.handle_irq);