Skip to content

Commit 6dfb043

Browse files
committed
tools/power turbostat: Remove dead code
amperf_group_fd is never used. Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 696d15c commit 6dfb043

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tools/power/x86/turbostat/turbostat.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,6 @@ static void bic_groups_init(void)
466466
#define PCL_10 14 /* PC10 */
467467
#define PCLUNL 15 /* Unlimited */
468468

469-
struct amperf_group_fd;
470-
471469
char *proc_stat = "/proc/stat";
472470
FILE *outf;
473471
int *fd_percpu;
@@ -4418,11 +4416,6 @@ int get_core_throt_cnt(int cpu, unsigned long long *cnt)
44184416
return 0;
44194417
}
44204418

4421-
struct amperf_group_fd {
4422-
int aperf; /* Also the group descriptor */
4423-
int mperf;
4424-
};
4425-
44264419
static int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr)
44274420
{
44284421
int fdmt;

0 commit comments

Comments
 (0)