diff mbox

[v2,01/29] target/s390x: remove dead code in translate.c

Message ID 20170529192440.5990-2-aurelien@aurel32.net (mailing list archive)
State New, archived
Headers show

Commit Message

Aurelien Jarno May 29, 2017, 7:24 p.m. UTC
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 target/s390x/translate.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Philippe Mathieu-Daudé May 29, 2017, 8:47 p.m. UTC | #1
On 05/29/2017 04:24 PM, Aurelien Jarno wrote:
> Reviewed-by: Richard Henderson <rth@twiddle.net>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> ---
>  target/s390x/translate.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/target/s390x/translate.c b/target/s390x/translate.c
> index 97ca639a34..f7598184a6 100644
> --- a/target/s390x/translate.c
> +++ b/target/s390x/translate.c
> @@ -5467,10 +5467,7 @@ void gen_intermediate_code(CPUS390XState *env, struct TranslationBlock *tb)
>              gen_io_start();
>          }
>
> -        status = NO_EXIT;
> -        if (status == NO_EXIT) {
> -            status = translate_one(env, &dc);
> -        }
> +        status = translate_one(env, &dc);
>
>          /* If we reach a page boundary, are single stepping,
>             or exhaust instruction count, stop generation.  */
>
diff mbox

Patch

diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 97ca639a34..f7598184a6 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -5467,10 +5467,7 @@  void gen_intermediate_code(CPUS390XState *env, struct TranslationBlock *tb)
             gen_io_start();
         }
 
-        status = NO_EXIT;
-        if (status == NO_EXIT) {
-            status = translate_one(env, &dc);
-        }
+        status = translate_one(env, &dc);
 
         /* If we reach a page boundary, are single stepping,
            or exhaust instruction count, stop generation.  */