aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-09-25 14:07:56 +0530
committerMichael Tokarev <mjt@tls.msk.ru>2015-10-08 19:46:01 +0300
commit738c8b01ba4d020ee42c72e83a6aa3d9408a2530 (patch)
tree3d3e3498120f5a700876961a1a42521971390239 /target-microblaze
parent4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a (diff)
target-microblaze: Remove unnecessary variable
Compress lines and remove the variable. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-microblaze')
-rw-r--r--target-microblaze/op_helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index 092c4b594d..d32434770c 100644
--- a/target-microblaze/op_helper.c
+++ b/target-microblaze/op_helper.c
@@ -150,9 +150,7 @@ uint32_t helper_clz(uint32_t t0)
uint32_t helper_carry(uint32_t a, uint32_t b, uint32_t cf)
{
- uint32_t ncf;
- ncf = compute_carry(a, b, cf);
- return ncf;
+ return compute_carry(a, b, cf);
}
static inline int div_prepare(CPUMBState *env, uint32_t a, uint32_t b)