Remove few more warnings and some dead code.
[coreboot.git] / src / mainboard / asrock / 939a785gmh / acpi_tables.c
index 429a029761a2a285c133b9b29cc82351317ba370..c4319266cb151c8b16b3a8948795903fba6def02 100644 (file)
@@ -99,32 +99,6 @@ unsigned long acpi_fill_madt(unsigned long current)
        return current;
 }
 
-
-
-#if CONFIG_ACPI_SSDTX_NUM >= 1
-static void update_ssdtx(void *ssdtx, int i)
-{
-       u8 *PCI;
-       u8 *HCIN;
-       u8 *UID;
-
-       PCI = ssdtx + 0x32;
-       HCIN = ssdtx + 0x39;
-       UID = ssdtx + 0x40;
-
-       if (i < 7) {
-               *PCI = (u8) ('4' + i - 1);
-       } else {
-               *PCI = (u8) ('A' + i - 1 - 6);
-       }
-       *HCIN = (u8) i;
-       *UID = (u8) (i + 3);
-
-       /* FIXME: need to update the GSI id in the ssdtx too */
-
-}
-#endif
-
 unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id) {
        k8acpi_write_vars();
        amd_model_fxx_generate_powernow(pm_base + 8, 6, 1);