[PATCH xserver 4/4] xfree86: Remove odd check definition PCI_DOM_MASK

Alan Coopersmith alan.coopersmith at oracle.com
Sat Oct 29 10:07:22 PDT 2011


On 10/29/11 08:54, Alexandr Shadchin wrote:
> PCI_DOM_MASK is already defined (see above).
>
> Signed-off-by: Alexandr Shadchin<Alexandr.Shadchin at gmail.com>
> ---
>   hw/xfree86/os-support/bus/Pci.h |    3 ---
>   1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h
> index 90713bc..ff057e7 100644
> --- a/hw/xfree86/os-support/bus/Pci.h
> +++ b/hw/xfree86/os-support/bus/Pci.h
> @@ -119,9 +119,6 @@
>   #define PCI_DOM_MASK 0x0ffu
>   #endif
>
> -#ifndef PCI_DOM_MASK
> -# define PCI_DOM_MASK 0x0ffu
> -#endif
>   #define PCI_DOMBUS_MASK (((PCI_DOM_MASK)<<  8) | 0x0ffu)
>
>   #define PCI_MAKE_BUS(d,b)    ((((d)&  (PCI_DOM_MASK))<<  8) | ((b)&  0xffu))

Looks like it was left by accident when commit e3e47b35e369bf4
moved the fallback definition up to the prior #if/#else pair.

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list