summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-05-20 09:15:00 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-20 16:54:10 +0200
commit3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729 (patch)
treee0703f620ae7ccd0dd06a7a0c0b51f1e4136aaf2 /arch/ppc/syslib
parent[PATCH] ppc32: don't call progress functions after boot (diff)
downloadlinux-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')
-rw-r--r--arch/ppc/syslib/open_pic.c2
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]);
}