diff mbox

acpi: remove NID_INVAL

Message ID alpine.DEB.2.00.1106211756110.4454@chino.kir.corp.google.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Rientjes June 22, 2011, 12:56 a.m. UTC
b552a8c56db8 ("ACPI: remove NID_INVAL") removed the left over uses of
NID_INVAL, but didn't actually remove the definition.  Remove it.

Signed-off-by: David Rientjes <rientjes@google.com>
---
 include/linux/acpi.h |    1 -
 1 files changed, 0 insertions(+), 1 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

Jesper Juhl June 23, 2011, 11:50 p.m. UTC | #1
On Tue, 21 Jun 2011, David Rientjes wrote:

> b552a8c56db8 ("ACPI: remove NID_INVAL") removed the left over uses of
> NID_INVAL, but didn't actually remove the definition.  Remove it.
> 
> Signed-off-by: David Rientjes <rientjes@google.com>
> ---
>  include/linux/acpi.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/acpi.h b/include/linux/acpi.h
> --- a/include/linux/acpi.h
> +++ b/include/linux/acpi.h
> @@ -238,7 +238,6 @@ extern int acpi_paddr_to_node(u64 start_addr, u64 size);
>  extern int pnpacpi_disabled;
>  
>  #define PXM_INVAL	(-1)
> -#define NID_INVAL	(-1)
>  
>  int acpi_check_resource_conflict(const struct resource *res);
>  
Yup. I agree. All that's left is that define and it should just die.

Reviewed-by: Jesper Juhl <jj@chaosbits.net>
diff mbox

Patch

diff --git a/include/linux/acpi.h b/include/linux/acpi.h
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -238,7 +238,6 @@  extern int acpi_paddr_to_node(u64 start_addr, u64 size);
 extern int pnpacpi_disabled;
 
 #define PXM_INVAL	(-1)
-#define NID_INVAL	(-1)
 
 int acpi_check_resource_conflict(const struct resource *res);