2013-06-04 21:56:43

by Toshi Kani

[permalink] [raw]
Subject: [PATCH] ACPI: Remove unused flags in acpi_device_flags

suprise_removal_ok and performance_manageable in struct
acpi_device_flags are not used by any code. So, remove
them.

Signed-off-by: Toshi Kani <[email protected]>
---
include/acpi/acpi_bus.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 1a681ee..9efc52f 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -156,12 +156,10 @@ struct acpi_device_flags {
u32 dynamic_status:1;
u32 removable:1;
u32 ejectable:1;
- u32 suprise_removal_ok:1;
u32 power_manageable:1;
- u32 performance_manageable:1;
u32 eject_pending:1;
u32 match_driver:1;
- u32 reserved:24;
+ u32 reserved:26;
};

/* File System */


2013-06-11 22:15:03

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] ACPI: Remove unused flags in acpi_device_flags

On Tuesday, June 04, 2013 03:56:25 PM Toshi Kani wrote:
> suprise_removal_ok and performance_manageable in struct
> acpi_device_flags are not used by any code. So, remove
> them.
>
> Signed-off-by: Toshi Kani <[email protected]>

Queued up for 3.11.

Thanks,
Rafael


> ---
> include/acpi/acpi_bus.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
> index 1a681ee..9efc52f 100644
> --- a/include/acpi/acpi_bus.h
> +++ b/include/acpi/acpi_bus.h
> @@ -156,12 +156,10 @@ struct acpi_device_flags {
> u32 dynamic_status:1;
> u32 removable:1;
> u32 ejectable:1;
> - u32 suprise_removal_ok:1;
> u32 power_manageable:1;
> - u32 performance_manageable:1;
> u32 eject_pending:1;
> u32 match_driver:1;
> - u32 reserved:24;
> + u32 reserved:26;
> };
>
> /* File System */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

2013-06-11 22:41:22

by Toshi Kani

[permalink] [raw]
Subject: Re: [PATCH] ACPI: Remove unused flags in acpi_device_flags

On Wed, 2013-06-12 at 00:24 +0200, Rafael J. Wysocki wrote:
> On Tuesday, June 04, 2013 03:56:25 PM Toshi Kani wrote:
> > suprise_removal_ok and performance_manageable in struct
> > acpi_device_flags are not used by any code. So, remove
> > them.
> >
> > Signed-off-by: Toshi Kani <[email protected]>
>
> Queued up for 3.11.

Great. Thanks!
-Toshi

>
> Thanks,
> Rafael
>
>
> > ---
> > include/acpi/acpi_bus.h | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
> > index 1a681ee..9efc52f 100644
> > --- a/include/acpi/acpi_bus.h
> > +++ b/include/acpi/acpi_bus.h
> > @@ -156,12 +156,10 @@ struct acpi_device_flags {
> > u32 dynamic_status:1;
> > u32 removable:1;
> > u32 ejectable:1;
> > - u32 suprise_removal_ok:1;
> > u32 power_manageable:1;
> > - u32 performance_manageable:1;
> > u32 eject_pending:1;
> > u32 match_driver:1;
> > - u32 reserved:24;
> > + u32 reserved:26;
> > };
> >
> > /* File System */
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html