From: Erwan Velu Date: Mon, 30 Nov 2009 10:18:36 +0000 (+0100) Subject: hdt: removing vendor_id from cpu info X-Git-Tag: syslinux-3.84-pre6~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26c3fcfb3017f9f80ac62cf20f746c309160f357;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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);