diff options
| author | Len Brown <len.brown@intel.com> | 2025-10-22 20:26:33 -0300 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2025-10-24 10:54:16 -0300 |
| commit | 6dfb04332f2391053d4cece0782637532fc75207 (patch) | |
| tree | ced988de9b2913ad02906c2fa9b7d57c92deebd1 | |
| parent | 696d15cbd8c2cf29a8e7486bf9fbf085f4cefed6 (diff) | |
tools/power turbostat: Remove dead code
amperf_group_fd is never used.
Signed-off-by: Len Brown <len.brown@intel.com>
| -rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 47cb72343038..f63525a1877c 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -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; |
