SMBIOS: Drop now-unnecessary unions

Now that the refactoring is complete, the unions for the table header
are no longer needed. Therefore, drop them.

Change-Id: I4e170e84a12646386d3fd84ae973dd6c18f25809
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55910
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Angel Pons
2021-06-28 17:42:40 +02:00
committed by Patrick Georgi
parent fff1b2f547
commit b554b7c51f
2 changed files with 18 additions and 144 deletions

View File

@ -10,14 +10,7 @@
static int smbios_write_intel_wifi(struct device *dev, int *handle, unsigned long *current)
{
struct smbios_type_intel_wifi {
union {
struct {
u8 type;
u8 length;
u16 handle;
};
struct smbios_header header;
};
struct smbios_header header;
u8 str;
u8 eos[2];
} __packed;