diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-11-18 00:44:50 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-18 16:55:33 +0100 |
commit | b78a5b5260abf90d574911e7c7b8d35d5b48d6c0 (patch) | |
tree | d4db869cd56892c3acc9fe00be5cffcd840f6166 /arch/x86/ia32/ia32_signal.c | |
parent | x86: ia32_signal: remove unnecessary padding (diff) | |
download | linux-b78a5b5260abf90d574911e7c7b8d35d5b48d6c0.tar.xz linux-b78a5b5260abf90d574911e7c7b8d35d5b48d6c0.zip |
x86: ia32_signal: cleanup macro COPY
Impact: cleanup
No need to use temporary variable in this case.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/ia32/ia32_signal.c')
-rw-r--r-- | arch/x86/ia32/ia32_signal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index e2d0bc779bf7..610a17774ea2 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c @@ -197,10 +197,8 @@ struct rt_sigframe /* fp state follows here */ }; -#define COPY(x) { \ - unsigned int reg; \ - err |= __get_user(reg, &sc->x); \ - regs->x = reg; \ +#define COPY(x) { \ + err |= __get_user(regs->x, &sc->x); \ } #define RELOAD_SEG(seg,mask) \ |