projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440e7b3
)
arch/sh/boards/mach-kfr2r09/setup.c: drop pointless static qualifier in kfr2r09_usb0_...
author
YueHaibing
<
[email protected]
>
Fri, 28 Dec 2018 08:31:42 +0000
(
00:31
-0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 28 Dec 2018 20:11:44 +0000
(12:11 -0800)
There is no need to have the 'struct clk *camera_clk' variable static
since a new value is always assigned before use.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: YueHaibing <
[email protected]
>
Reviewed-by: Andrew Morton <
[email protected]
>
Cc: Yoshinori Sato <
[email protected]
>
Cc: Rich Felker <
[email protected]
>
Cc: Jacopo Mondi <
[email protected]
>
Cc: "Miquel Raynal" <
[email protected]
>
Cc: Randy Dunlap <
[email protected]
>
Cc: Masahiro Yamada <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/sh/boards/mach-kfr2r09/setup.c
patch
|
blob
|
history
diff --git
a/arch/sh/boards/mach-kfr2r09/setup.c
b/arch/sh/boards/mach-kfr2r09/setup.c
index c70bc7809ddaecce66030c43ee914c24eee894e7..203d249a0a2b46763a833df25c2682740c4b67a6 100644
(file)
--- a/
arch/sh/boards/mach-kfr2r09/setup.c
+++ b/
arch/sh/boards/mach-kfr2r09/setup.c
@@
-477,7
+477,7
@@
extern char kfr2r09_sdram_leave_end;
static int __init kfr2r09_devices_setup(void)
{
- st
atic st
ruct clk *camera_clk;
+ struct clk *camera_clk;
/* register board specific self-refresh code */
sh_mobile_register_self_refresh(SUSP_SH_STANDBY | SUSP_SH_SF |