From fa58c1568bba0ad031b5c6ebe1f34d41b611c61c Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 19:48:33 +0000 Subject: removed unused variables git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3612 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pxa2xx.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'hw/pxa2xx.c') diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 3c10839022..62c396cd33 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -25,22 +25,34 @@ static struct { { 0, 0 } }; -static struct { +typedef struct PXASSPDef { target_phys_addr_t io_base; int irqn; -} pxa250_ssp[] = { +} PXASSPDef; + +#if 0 +static PXASSPDef pxa250_ssp[] = { { 0x41000000, PXA2XX_PIC_SSP }, { 0, 0 } -}, pxa255_ssp[] = { +}; +#endif + +static PXASSPDef pxa255_ssp[] = { { 0x41000000, PXA2XX_PIC_SSP }, { 0x41400000, PXA25X_PIC_NSSP }, { 0, 0 } -}, pxa26x_ssp[] = { +}; + +#if 0 +static PXASSPDef pxa26x_ssp[] = { { 0x41000000, PXA2XX_PIC_SSP }, { 0x41400000, PXA25X_PIC_NSSP }, { 0x41500000, PXA26X_PIC_ASSP }, { 0, 0 } -}, pxa27x_ssp[] = { +}; +#endif + +static PXASSPDef pxa27x_ssp[] = { { 0x41000000, PXA2XX_PIC_SSP }, { 0x41700000, PXA27X_PIC_SSP2 }, { 0x41900000, PXA2XX_PIC_SSP3 }, -- cgit v1.2.1