Re: [qxl 1/2] Remove unused variables

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

 



On Thu, 2015-04-02 at 16:27 +0200, Christophe Fergeau wrote:
> ---
>  src/qxl.h        | 3 ---
>  src/qxl_driver.c | 5 -----
>  2 files changed, 8 deletions(-)
> 
> diff --git a/src/qxl.h b/src/qxl.h
> index 95d6682..f46bc58 100644
> --- a/src/qxl.h
> +++ b/src/qxl.h
> @@ -271,9 +271,6 @@ struct _qxl_screen_t
>      xf86OutputPtr *             outputs;
>  
>  #ifndef XSPICE
> -    void *			io_pages;
> -    void *			io_pages_physical;
> -
>  #ifdef XSERVER_LIBPCIACCESS
>      struct pci_device *		pci;
>  #else
> diff --git a/src/qxl_driver.c b/src/qxl_driver.c
> index 13b4a9a..9f786a9 100644
> --- a/src/qxl_driver.c
> +++ b/src/qxl_driver.c
> @@ -758,11 +758,6 @@ qxl_screen_init (SCREEN_INIT_ARGS_DECL)
>  	}
>      }
>      
> -#ifndef XSPICE
> -    qxl->io_pages = (void *)((unsigned long)qxl->ram);
> -    qxl->io_pages_physical = (void *)((unsigned long)qxl->ram_physical);
> -#endif
> -    
>      qxl->command_ring = qxl_ring_create ((struct qxl_ring_header *)&(ram_header->cmd_ring),
>                                           sizeof (struct QXLCommand),
>                                           QXL_COMMAND_RING_SIZE, QXL_IO_NOTIFY_CMD, qxl);


ACK to both.

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]