From 2dce918111e8ef477942cd5ecf8340ddf39c1b5b Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 4 Jun 2009 17:59:23 +0200 Subject: More cleanup --- src/dmidecode.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/dmidecode.c') diff --git a/src/dmidecode.c b/src/dmidecode.c index 0f77e67..d55a697 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -4832,23 +4832,6 @@ void to_dmi_header(struct dmi_header *h, u8 * data) h->data = data; } -/* -static void dmi_table_dump(options *opt, u32 base, u16 len, const char *devmem) -{ - u8 *buf; - - if ((buf = mem_chunk(base, len, devmem)) == NULL) - { - fprintf(stderr, "Failed to read table, sorry.\n"); - return; - } - - printf("# Writing %d bytes to %s.\n", len, opt->dumpfile); - write_dump(32, len, buf, opt->dumpfile, 0); - free(buf); -} -*/ - /* * Build a crafted entry point with table address hard-coded to 32, * as this is where we will put it in the output file. We adjust the -- cgit