From 26c3fcfb3017f9f80ac62cf20f746c309160f357 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 30 Nov 2009 11:18:36 +0100 Subject: [PATCH] hdt: removing vendor_id from cpu info Impact: visual No need to display the vendor_id as we already show the vendor name. That confuse users, let's remove it --- com32/hdt/hdt-cli-cpu.c | 1 - com32/hdt/hdt-menu-processor.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/com32/hdt/hdt-cli-cpu.c b/com32/hdt/hdt-cli-cpu.c index fbdbc99..2fcea95 100644 --- a/com32/hdt/hdt-cli-cpu.c +++ b/com32/hdt/hdt-cli-cpu.c @@ -89,7 +89,6 @@ static void show_cpu(int argc __unused, char **argv __unused, hardware->cpu.l1_instruction_cache_size, hardware->cpu.l1_data_cache_size); more_printf("L2 Cache : %dK\n", hardware->cpu.l2_cache_size); - more_printf("Vendor ID : %d\n", hardware->cpu.vendor_id); more_printf("Family ID : %d\n", hardware->cpu.family); more_printf("Model ID : %d\n", hardware->cpu.model_id); more_printf("Stepping : %d\n", hardware->cpu.stepping); diff --git a/com32/hdt/hdt-menu-processor.c b/com32/hdt/hdt-menu-processor.c index 53b04b5..b2b8614 100644 --- a/com32/hdt/hdt-menu-processor.c +++ b/com32/hdt/hdt-menu-processor.c @@ -93,12 +93,6 @@ void compute_processor(struct s_my_menu *menu, struct s_hardware *hardware) add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); menu->items_count++; - snprintf(buffer, sizeof buffer, "Vendor ID : %d", hardware->cpu.vendor_id); - snprintf(statbuffer, sizeof statbuffer, "Vendor ID: %d", - hardware->cpu.vendor_id); - add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); - menu->items_count++; - snprintf(buffer, sizeof buffer, "Family ID : %d", hardware->cpu.family); snprintf(statbuffer, sizeof statbuffer, "Family ID: %d", hardware->cpu.family); -- 2.7.4