diff --git a/hyptop/dg_debugfs_lpar.c b/hyptop/dg_debugfs_lpar.c index 58dc7938..b63b9ec5 100644 --- a/hyptop/dg_debugfs_lpar.c +++ b/hyptop/dg_debugfs_lpar.c @@ -176,7 +176,6 @@ static void l_sd_cpu_phys_fill(struct sd_sys *sys, sd_cpu_state_set(cpu, SD_CPU_STATE_UNKNOWN); } sd_cpu_mgm_time_us_set(cpu, cpu_info->mgm_time); - sd_cpu_real_type_set(cpu, cpu_type); sd_cpu_commit(cpu); } diff --git a/hyptop/sd.h b/hyptop/sd.h index cc303b90..9ba31929 100644 --- a/hyptop/sd.h +++ b/hyptop/sd.h @@ -195,7 +195,6 @@ struct sd_cpu { struct sd_info i; char id[9]; struct sd_cpu_type *type; - char real_type[CPU_TYPE_ID_LEN]; struct sd_cpu_info d1; struct sd_cpu_info d2; struct sd_cpu_info *d_cur; @@ -228,11 +227,6 @@ static inline void sd_cpu_state_set(struct sd_cpu *cpu, enum sd_cpu_state state) cpu->state = state; } -static inline void sd_cpu_real_type_set(struct sd_cpu *cpu, const char *type) -{ - strncpy(cpu->real_type, type, sizeof(cpu->real_type)); -} - static inline void sd_cpu_cpu_time_us_set(struct sd_cpu *cpu, u64 value) { cpu->d_cur->cpu_time_us = value;