From: Christophe Leroy Date: Tue, 17 Apr 2018 12:36:45 +0000 (+0200) Subject: powerpc/boot: remove unused variable in mpc8xx X-Git-Tag: for-linus-20180616~50^2~22 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=169f438a7e369226a452e0ac4a54dbdf85e31943;p=linux-2.6-block.git powerpc/boot: remove unused variable in mpc8xx Variable div is set but never used. Remove it. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/boot/mpc8xx.c b/arch/powerpc/boot/mpc8xx.c index add55a7f184f..c9bd9285c548 100644 --- a/arch/powerpc/boot/mpc8xx.c +++ b/arch/powerpc/boot/mpc8xx.c @@ -24,7 +24,7 @@ u32 mpc885_get_clock(u32 crystal) { u32 *immr; u32 plprcr; - int mfi, mfn, mfd, pdf, div; + int mfi, mfn, mfd, pdf; u32 ret; immr = fsl_get_immr(); @@ -43,7 +43,6 @@ u32 mpc885_get_clock(u32 crystal) } pdf = (plprcr >> 1) & 0xf; - div = (plprcr >> 20) & 3; mfd = (plprcr >> 22) & 0x1f; mfn = (plprcr >> 27) & 0x1f;