diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2019-05-13 11:14:54 +0000 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-06-05 14:25:43 -0500 |
commit | f03de74d92aca6a5399c088074550a164ae44eec (patch) | |
tree | de43ae04d476c8c1b4e16177203c40526b3f7f98 /drivers/soc/fsl/qe/qe.c | |
parent | 5677eab3c86d47a40105295719e24d419f8314c1 (diff) | |
download | linux-f03de74d92aca6a5399c088074550a164ae44eec.tar.bz2 |
soc: fsl: qe: drop useless static qualifier
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>
Diffstat (limited to 'drivers/soc/fsl/qe/qe.c')
-rw-r--r-- | drivers/soc/fsl/qe/qe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 612d9c551be5..855373deb746 100644 --- 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(); |