powerpc/math-emu: Remove redundant 'ret'
FP_DECL_EX is already used, so ret is redundant. And FP_SET_EXCEPTION will add status into return value. Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@ -13,7 +13,6 @@ fsub(void *frD, void *frA, void *frB)
|
||||
FP_DECL_D(B);
|
||||
FP_DECL_D(R);
|
||||
FP_DECL_EX;
|
||||
int ret = 0;
|
||||
|
||||
#ifdef DEBUG
|
||||
printk("%s: %p %p %p\n", __func__, frD, frA, frB);
|
||||
@ -31,7 +30,7 @@ fsub(void *frD, void *frA, void *frB)
|
||||
B_s ^= 1;
|
||||
|
||||
if (A_s != B_s && A_c == FP_CLS_INF && B_c == FP_CLS_INF)
|
||||
ret |= EFLAG_VXISI;
|
||||
FP_SET_EXCEPTION(EFLAG_VXISI);
|
||||
|
||||
FP_ADD_D(R, A, B);
|
||||
|
||||
|
Reference in New Issue
Block a user