[PATCH] ppc32: remove unused computation
authorPaul Mackerras <paulus@samba.org>
Fri, 20 May 2005 07:15:00 +0000 (17:15 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 14:54:10 +0000 (07:54 -0700)
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>
arch/ppc/syslib/open_pic.c

index 7619e16fccaef18ddd666a5058487283f884af5c..9d4ed68b580419c5c7e1e0e02509a58e9e29ca60 100644 (file)
@@ -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]);
 }