Commit c1bc91c3 authored by Laurent Vivier's avatar Laurent Vivier Committed by Michael Tokarev
Browse files

linux-user,s390x: remove useless cast



This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci

CC: Riku Voipio <riku.voipio@iki.fi>
CC: Alexander Graf <agraf@suse.de>
Signed-off-by: default avatarLaurent Vivier <lvivier@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent ac4e29f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4244,7 +4244,7 @@ static void setup_frame(int sig, struct target_sigaction *ka,
    env->regs[5] = 0; // FIXME: no clue... current->thread.prot_addr;

    /* Place signal number on stack to allow backtrace from handler.  */
    __put_user(env->regs[2], (int *) &frame->signo);
    __put_user(env->regs[2], &frame->signo);
    unlock_user_struct(frame, frame_addr, 1);
    return;