diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-04 17:59:23 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-04 17:59:23 +0200 |
commit | 2dce918111e8ef477942cd5ecf8340ddf39c1b5b (patch) | |
tree | adcbb783e7c677e84f9b1d56023a78404203e758 /src/dmidecode.c | |
parent | 842f44f4efff348367ff9be5972def06d899b77b (diff) | |
download | python-dmidecode-2dce918111e8ef477942cd5ecf8340ddf39c1b5b.tar.gz python-dmidecode-2dce918111e8ef477942cd5ecf8340ddf39c1b5b.tar.xz python-dmidecode-2dce918111e8ef477942cd5ecf8340ddf39c1b5b.zip |
More cleanup
Diffstat (limited to 'src/dmidecode.c')
-rw-r--r-- | src/dmidecode.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/dmidecode.c b/src/dmidecode.c index 0f77e67..d55a697 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -4833,23 +4833,6 @@ void to_dmi_header(struct dmi_header *h, u8 * 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 * DMI checksum appropriately. The SMBIOS checksum needs no adjustment. |