diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:58 +0000 |
commit | 2822f8e8ccfcfa2c618fb2c30e512cdde5e66f47 (patch) | |
tree | 9164a25dc1e1d80258b55ca21619234fd8d0851d /risu_m68k.c | |
parent | 52c821b027cd9c3db24d15d6813038d9971a373f (diff) |
m68k: Drop unused ucontext_t* argument to reginfo_is_eq()
Drop the ucontext*t argument to reginfo_is_eq(); we don't
use it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'risu_m68k.c')
-rw-r--r-- | risu_m68k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/risu_m68k.c b/risu_m68k.c index 87776ab..e345b25 100644 --- a/risu_m68k.c +++ b/risu_m68k.c @@ -91,7 +91,7 @@ int recv_and_compare_register_info(int sock, void *uc) if (recv_data_pkt(sock, &apprentice_ri, sizeof(apprentice_ri))) { packet_mismatch = 1; resp = 2; - } else if (!reginfo_is_eq(&master_ri, &apprentice_ri, uc)) { + } else if (!reginfo_is_eq(&master_ri, &apprentice_ri)) { resp = 2; } else if (op == OP_TESTEND) { @@ -137,7 +137,7 @@ int report_match_status(void) fprintf(stderr, "master reginfo:\n"); reginfo_dump(&master_ri, stderr); } - if (!reginfo_is_eq(&master_ri, &apprentice_ri, NULL)) { + if (!reginfo_is_eq(&master_ri, &apprentice_ri)) { fprintf(stderr, "mismatch on regs!\n"); resp = 1; } |