Re: [patch] acpi: remove NID_INVAL

From: Jesper Juhl
Date: Thu Jun 23 2011 - 19:59:21 EST


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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxx>

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/