qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH] hw/i386/pc.c: Remove unused parallel_io and p


From: Michael S. Tsirkin
Subject: Re: [Qemu-trivial] [PATCH] hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables
Date: Thu, 29 May 2014 15:00:11 +0300

On Thu, May 29, 2014 at 12:01:49PM +0100, Peter Maydell wrote:
> The variables parallel_io and parallel_irq are unused; delete them.
> 
> Signed-off-by: Peter Maydell <address@hidden>


Thanks, applied.


Reviewed-by: Michael S. Tsirkin <address@hidden>

> ---
>  hw/i386/pc.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> index e6369d5..32d1632 100644
> --- a/hw/i386/pc.c
> +++ b/hw/i386/pc.c
> @@ -922,9 +922,6 @@ static const int ne2000_io[NE2000_NB_MAX] = { 0x300, 
> 0x320, 0x340, 0x360,
>                                                0x280, 0x380 };
>  static const int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 };
>  
> -static const int parallel_io[MAX_PARALLEL_PORTS] = { 0x378, 0x278, 0x3bc };
> -static const int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 };
> -
>  void pc_init_ne2k_isa(ISABus *bus, NICInfo *nd)
>  {
>      static int nb_ne2k = 0;
> -- 
> 1.9.2



reply via email to

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