diff options
author | Paul Mackerras <paulus@samba.org> | 2005-05-20 09:15:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-20 16:54:10 +0200 |
commit | 3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729 (patch) | |
tree | e0703f620ae7ccd0dd06a7a0c0b51f1e4136aaf2 /arch/ppc/syslib/open_pic.c | |
parent | [PATCH] ppc32: don't call progress functions after boot (diff) | |
download | linux-3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729.tar.xz linux-3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729.zip |
[PATCH] ppc32: remove unused computation
We are computing phys in the code below and never using. This patch
takes out the redundant computation.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/syslib/open_pic.c')
-rw-r--r-- | arch/ppc/syslib/open_pic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc/syslib/open_pic.c b/arch/ppc/syslib/open_pic.c index 7619e16fccae..9d4ed68b5804 100644 --- a/arch/ppc/syslib/open_pic.c +++ b/arch/ppc/syslib/open_pic.c @@ -557,12 +557,10 @@ static void __init openpic_initipi(u_int ipi, u_int pri, u_int vec) */ void openpic_cause_IPI(u_int ipi, cpumask_t cpumask) { - cpumask_t phys; DECL_THIS_CPU; CHECK_THIS_CPU; check_arg_ipi(ipi); - phys = physmask(cpumask); openpic_write(&OpenPIC->THIS_CPU.IPI_Dispatch(ipi), cpus_addr(physmask(cpumask))[0]); } |