Commit 6dfb0433 authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: Remove dead code



amperf_group_fd is never used.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 696d15cb
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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;