From b58a2f3302c6670e89f2f0d2308e1f060bab513a Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 9 May 2010 17:43:25 -0300 Subject: Remove decode_ddr_module_height() --- modules/devices/spd-decode.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'modules/devices/spd-decode.c') diff --git a/modules/devices/spd-decode.c b/modules/devices/spd-decode.c index 5f6132c3..2a72725b 100644 --- a/modules/devices/spd-decode.c +++ b/modules/devices/spd-decode.c @@ -957,30 +957,6 @@ static void decode_ddr_module_size(unsigned char *bytes, int *size) } } -static void decode_ddr_module_height(unsigned char *bytes, char **height) -{ - char *temp; - - if (bytes[47] & 0x03) { - switch (bytes[47] & 0x03) { - case 0x01: - temp = "1.125\" to 1.25\""; - break; - case 0x02: - temp = "1.7\""; - break; - default: - temp = "Other"; - } - } else { - temp = "Unknown"; - } - - if (height) { - *height = temp; - } -} - static void *decode_ddr_module_timings(unsigned char *bytes, float *tcl, float *trcd, float *trp, float *tras) -- cgit v1.2.3