Message ID | 1401361309-25921-1-git-send-email-peter.maydell@linaro.org |
---|---|
State | Superseded |
Headers | show |
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 <peter.maydell@linaro.org> Thanks, applied. Reviewed-by: Michael S. Tsirkin <mst@redhat.com> > --- > 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
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;
The variables parallel_io and parallel_irq are unused; delete them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- hw/i386/pc.c | 3 --- 1 file changed, 3 deletions(-)