[warnings] remove some extraneous __PACKED attributes

Also remove a few extra data structures that were marked packed but not
otherwise used anywhere.
This commit is contained in:
Travis Geiselbrecht
2024-04-18 23:51:38 -07:00
parent 6ed6f36fa0
commit 9a4fae0714
5 changed files with 12 additions and 25 deletions

View File

@@ -141,7 +141,7 @@ typedef struct {
uint16_t bridge_control;
} type1; // configuration for bridge devices
};
} __PACKED pci_config_t;
} pci_config_t;
static_assert(sizeof(pci_config_t) == 0x40, "");
/* Class/subclass codes (incomplete) */