Re: [PATCH v2 1/2] target/mips: Remove identical if/else branches

2020-06-30 Thread Philippe Mathieu-Daudé
On 6/30/20 6:46 PM, Aleksandar Markovic wrote: > Remove the segment: > > if (other_tc == other->current_tc) { > tccause = other->CP0_Cause; > } else { > tccause = other->CP0_Cause; > } > > Original contributor can't remember what was his intention. > > Bug:

[PATCH v2 1/2] target/mips: Remove identical if/else branches

2020-06-30 Thread Aleksandar Markovic
Remove the segment: if (other_tc == other->current_tc) { tccause = other->CP0_Cause; } else { tccause = other->CP0_Cause; } Original contributor can't remember what was his intention. Bug: 1885718 Signed-off-by: Aleksandar Markovic --- target/mips/cp0_help