projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5677eab
)
soc: fsl: qe: drop useless static qualifier
author
Rasmus Villemoes
<rasmus.villemoes@prevas.dk>
Mon, 13 May 2019 11:14:54 +0000
(11:14 +0000)
committer
Li Yang
<leoyang.li@nxp.com>
Wed, 5 Jun 2019 19:25:43 +0000
(14:25 -0500)
The local variable snum_init has no reason to have static storage duration.
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/soc/fsl/qe/qe.c
b/drivers/soc/fsl/qe/qe.c
index 612d9c551be5de8ba27dea64f9fb30705964ed83..855373deb74672aa1900f9fb323c1de39a7eeb97 100644
(file)
--- a/
drivers/soc/fsl/qe/qe.c
+++ b/
drivers/soc/fsl/qe/qe.c
@@
-306,7
+306,7
@@
static void qe_snums_init(void)
0x28, 0x29, 0x38, 0x39, 0x48, 0x49, 0x58, 0x59,
0x68, 0x69, 0x78, 0x79, 0x80, 0x81,
};
-
static
const u8 *snum_init;
+ const u8 *snum_init;
qe_num_of_snum = qe_get_num_of_snums();