Commit 169f438a authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc/boot: remove unused variable in mpc8xx

Variable div is set but never used. Remove it.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 0cc377d1
...@@ -24,7 +24,7 @@ u32 mpc885_get_clock(u32 crystal) ...@@ -24,7 +24,7 @@ u32 mpc885_get_clock(u32 crystal)
{ {
u32 *immr; u32 *immr;
u32 plprcr; u32 plprcr;
int mfi, mfn, mfd, pdf, div; int mfi, mfn, mfd, pdf;
u32 ret; u32 ret;
immr = fsl_get_immr(); immr = fsl_get_immr();
...@@ -43,7 +43,6 @@ u32 mpc885_get_clock(u32 crystal) ...@@ -43,7 +43,6 @@ u32 mpc885_get_clock(u32 crystal)
} }
pdf = (plprcr >> 1) & 0xf; pdf = (plprcr >> 1) & 0xf;
div = (plprcr >> 20) & 3;
mfd = (plprcr >> 22) & 0x1f; mfd = (plprcr >> 22) & 0x1f;
mfn = (plprcr >> 27) & 0x1f; mfn = (plprcr >> 27) & 0x1f;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment