2009-03-20 00:25:15

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: [PATCH] acpi: Eliminate a bit o'redudancy

I haven't checked if this pessimizes code, its just that when testing my
CTF encoder it decided that if the base type has the same bits as the
bitfield member and CTF has no expressiveness as in the bloated DWARF
format to express this case, so, to avoid my testcases from pointing me
this oxymoron, can you please apply this patch?

Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>

diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index e9f6574..498b0a0 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -236,7 +236,7 @@ struct acpi_device_power {
/* Performance Management */

struct acpi_device_perf_flags {
- u8 reserved:8;
+ u8 reserved;
};

struct acpi_device_perf_state {