]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/power turbostat: Remove dead code
authorLen Brown <len.brown@intel.com>
Wed, 22 Oct 2025 23:26:33 +0000 (20:26 -0300)
committerLen Brown <len.brown@intel.com>
Fri, 24 Oct 2025 13:54:16 +0000 (10:54 -0300)
amperf_group_fd is never used.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 47cb723430389221a6f69a3b1e00b29d94145aa2..f63525a1877c7e6d89ec4f54c455e38086c81dea 100644 (file)
@@ -466,8 +466,6 @@ static void bic_groups_init(void)
 #define PCL_10 14              /* PC10 */
 #define PCLUNL 15              /* Unlimited */
 
-struct amperf_group_fd;
-
 char *proc_stat = "/proc/stat";
 FILE *outf;
 int *fd_percpu;
@@ -4418,11 +4416,6 @@ int get_core_throt_cnt(int cpu, unsigned long long *cnt)
        return 0;
 }
 
-struct amperf_group_fd {
-       int aperf;              /* Also the group descriptor */
-       int mperf;
-};
-
 static int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr)
 {
        int fdmt;