mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
x86: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
9678d9501b
commit
7f5b7d3e2c
7 changed files with 17 additions and 19 deletions
|
@ -414,15 +414,14 @@ parallel_ioport_eppdata_read_hw4(void *opaque, uint32_t addr)
|
|||
|
||||
static void parallel_ioport_ecp_write(void *opaque, uint32_t addr, uint32_t val)
|
||||
{
|
||||
addr &= 7;
|
||||
pdebug("wecp%d=%02x\n", addr, val);
|
||||
pdebug("wecp%d=%02x\n", addr & 7, val);
|
||||
}
|
||||
|
||||
static uint32_t parallel_ioport_ecp_read(void *opaque, uint32_t addr)
|
||||
{
|
||||
uint8_t ret = 0xff;
|
||||
addr &= 7;
|
||||
pdebug("recp%d:%02x\n", addr, ret);
|
||||
|
||||
pdebug("recp%d:%02x\n", addr & 7, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue