lkml.org 
[lkml]   [2009]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 <acme@redhat.com>

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 {

\
 
 \ /
  Last update: 2009-03-20 01:27    [W:0.026 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site