Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrey Utkin and committed by
David S. Miller
093758e3 4ec1b010

+1 -1
+1 -1
arch/sparc/math-emu/math_32.c
··· 499 499 case 0: fsr = *pfsr; 500 500 if (IR == -1) IR = 2; 501 501 /* fcc is always fcc0 */ 502 - fsr &= ~0xc00; fsr |= (IR << 10); break; 502 + fsr &= ~0xc00; fsr |= (IR << 10); 503 503 *pfsr = fsr; 504 504 break; 505 505 case 1: rd->s = IR; break;