diff mbox

ACPI: Remove unused flags in acpi_device_flags

Message ID 1370382985-12163-1-git-send-email-toshi.kani@hp.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Toshi Kani June 4, 2013, 9:56 p.m. UTC
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 <toshi.kani@hp.com>
---
 include/acpi/acpi_bus.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rafael Wysocki June 11, 2013, 10:24 p.m. UTC | #1
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 <toshi.kani@hp.com>

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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Toshi Kani June 11, 2013, 10:41 p.m. UTC | #2
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 <toshi.kani@hp.com>
> 
> 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 majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 */