diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 05:53:15 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 05:53:15 +0000 |
commit | 603ff77610d82d81d2071fd8d981241b5e288598 (patch) | |
tree | 8d1c8ea707022d501c0d5e2e82e6ab50d51f1a63 /hw/pxa2xx.c | |
parent | 45416789e8ccced568a4984af61974adfbfa0f62 (diff) |
pxa2xx: remove useless checks
Remove checks which were made useless by r5849,
8da3ff180974732fc4272cb4433fef85c1822961.
This also avoids a warning with GCC flag -Wtype-limits.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 26b9205dbe..faa3d9589a 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -125,7 +125,7 @@ static void pxa2xx_pm_write(void *opaque, target_phys_addr_t addr, break; default: /* Read-write registers */ - if (addr >= PMCR && addr <= PCMD31 && !(addr & 3)) { + if (!(addr & 3)) { s->pm_regs[addr >> 2] = value; break; } |