diff options
author | Paul Mackerras <paulus@samba.org> | 2005-05-20 17:15:00 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-20 07:54:10 -0700 |
commit | 3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729 (patch) | |
tree | e0703f620ae7ccd0dd06a7a0c0b51f1e4136aaf2 /arch | |
parent | 6c37a88c5b1195d4ac74d44a6413839b93df5af4 (diff) | |
download | kernel-crypto-3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729.tar.gz kernel-crypto-3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729.tar.xz kernel-crypto-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')
-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 7619e16fcca..9d4ed68b580 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]); } |