Re: [PATCH i-g-t] assembler, lib, overlay, tools, tests/: Fix warnings about unused variables.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 07, 2016 at 01:38:55PM +0300, Marius Vlad wrote:
> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
> index 5aab684..6a03b09 100644
> --- a/lib/intel_device_info.c
> +++ b/lib/intel_device_info.c
> @@ -9,12 +9,6 @@ static const struct intel_device_info intel_generic_info = {
>  	.gen = 0,
>  };
>  

#if 0
> -static const struct intel_device_info intel_i81x_info = {
> -	.gen = BIT(0),
> -	.is_whitney = true,
> -	.codename = "solano" /* 815 == "whitney" ? or vice versa? */
> -};
#endif

Or add the PCI and wire it up.

> -
>  static const struct intel_device_info intel_i830_info = {
>  	.gen = BIT(1),
>  	.is_almador = true,
> diff --git a/overlay/igfx.c b/overlay/igfx.c
> index fa046e7..55f0edf 100644
> --- a/overlay/igfx.c
> +++ b/overlay/igfx.c
> @@ -35,16 +35,9 @@ static const struct igfx_info generic_info = {
>  	.gen = -1,
>  };
>  

#if 0
> -static const struct igfx_info i81x_info = {
> -	.gen = 010,
> -};
#endif

>  static const struct igfx_info i830_info = {
>  	.gen = 020,
>  };

> -static const struct igfx_info i845_info = {
> -	.gen = 020,
> -};

That's a typo later on.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux