Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b78a5b52 authored by Hiroshi Shimamoto's avatar Hiroshi Shimamoto Committed by Ingo Molnar
Browse files

x86: ia32_signal: cleanup macro COPY



Impact: cleanup

No need to use temporary variable in this case.

Signed-off-by: default avatarHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9cc3c49e
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -198,9 +198,7 @@ struct rt_sigframe
};

#define COPY(x)			{		\
	unsigned int reg;		\
	err |= __get_user(reg, &sc->x);	\
	regs->x = reg;			\
	err |= __get_user(regs->x, &sc->x);	\
}

#define RELOAD_SEG(seg,mask)						\