mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
pxa2xx: remove useless checks
Remove checks which were made useless by r5849,
8da3ff1809.
This also avoids a warning with GCC flag -Wtype-limits.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user