mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
cris: 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
22ed1d3478
commit
0d84be5bd0
3 changed files with 3 additions and 8 deletions
|
@ -401,7 +401,7 @@ static void eth_update_ma(struct fs_eth *eth, int ma)
|
|||
eth->macaddr[ma][i++] = eth->regs[reg] >> 16;
|
||||
eth->macaddr[ma][i++] = eth->regs[reg] >> 24;
|
||||
eth->macaddr[ma][i++] = eth->regs[reg + 1];
|
||||
eth->macaddr[ma][i++] = eth->regs[reg + 1] >> 8;
|
||||
eth->macaddr[ma][i] = eth->regs[reg + 1] >> 8;
|
||||
|
||||
D(printf("set mac%d=%x.%x.%x.%x.%x.%x\n", ma,
|
||||
eth->macaddr[ma][0], eth->macaddr[ma][1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue