mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
hyptop: Remove unused function sd_cpu_real_type_set()
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user