projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc377d
)
powerpc/boot: remove unused variable in mpc8xx
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Tue, 17 Apr 2018 12:36:45 +0000
(14:36 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Sun, 3 Jun 2018 14:39:17 +0000
(
00:39
+1000)
Variable div is set but never used. Remove it.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/mpc8xx.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/boot/mpc8xx.c
b/arch/powerpc/boot/mpc8xx.c
index
add55a7
..
c9bd928
100644
(file)
--- 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;