qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 05/10] wdt: remove unused variables


From: Isaku Yamahata
Subject: Re: [Qemu-devel] [PATCH 05/10] wdt: remove unused variables
Date: Wed, 15 Jun 2011 07:47:43 +0900
User-agent: Mutt/1.5.19 (2009-01-05)

It seems that I overlooked the variable when pci id conversion.

Acked-off-by: Isaku Yamahata <address@hidden>


On Tue, Jun 14, 2011 at 08:35:52PM +0300, Michael S. Tsirkin wrote:
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
>  hw/wdt_i6300esb.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c
> index bd57fd3..53786ce 100644
> --- a/hw/wdt_i6300esb.c
> +++ b/hw/wdt_i6300esb.c
> @@ -381,7 +381,6 @@ static const VMStateDescription vmstate_i6300esb = {
>  static int i6300esb_init(PCIDevice *dev)
>  {
>      I6300State *d = DO_UPCAST(I6300State, dev, dev);
> -    uint8_t *pci_conf;
>      int io_mem;
>      static CPUReadMemoryFunc * const mem_read[3] = {
>          i6300esb_mem_readb,
> @@ -399,8 +398,6 @@ static int i6300esb_init(PCIDevice *dev)
>      d->timer = qemu_new_timer_ns(vm_clock, i6300esb_timer_expired, d);
>      d->previous_reboot_flag = 0;
>  
> -    pci_conf = d->dev.config;
> -
>      io_mem = cpu_register_io_memory(mem_read, mem_write, d,
>                                      DEVICE_NATIVE_ENDIAN);
>      pci_register_bar_simple(&d->dev, 0, 0x10, 0, io_mem);
> -- 
> 1.7.5.53.gc233e
> 

-- 
yamahata



reply via email to

[Prev in Thread] Current Thread [Next in Thread]