Skip to content

Commit 093758e

Browse files
Andrey Utkindavem330
authored andcommitted
arch/sparc/math-emu/math_32.c: drop stray break operator
This commit is a guesswork, but it seems to make sense to drop this break, as otherwise the following line is never executed and becomes dead code. And that following line actually saves the result of local calculation by the pointer given in function argument. So the proposed change makes sense if this code in the whole makes sense (but I am unable to analyze it in the whole). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81641 Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4ec1b01 commit 093758e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sparc/math-emu/math_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ static int do_one_mathemu(u32 insn, unsigned long *pfsr, unsigned long *fregs)
499499
case 0: fsr = *pfsr;
500500
if (IR == -1) IR = 2;
501501
/* fcc is always fcc0 */
502-
fsr &= ~0xc00; fsr |= (IR << 10); break;
502+
fsr &= ~0xc00; fsr |= (IR << 10);
503503
*pfsr = fsr;
504504
break;
505505
case 1: rd->s = IR; break;

0 commit comments

Comments
 (0)