Skip to content

Commit

Permalink
[PATCH] ppc32: remove unused computation
Browse files Browse the repository at this point in the history
We are computing phys in the code below and never using.  This patch
takes out the redundant computation.

Signed-off-by: Paul Mackerras <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
paulusmack authored and Linus Torvalds committed May 20, 2005
1 parent 6c37a88 commit 3207a80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/ppc/syslib/open_pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit 3207a80

Please sign in to comment.