From: Rasmus Villemoes Date: Mon, 13 May 2019 11:14:54 +0000 (+0000) Subject: soc: fsl: qe: drop useless static qualifier X-Git-Tag: v5.15~5561^2~35^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f03de74d92aca6a5399c088074550a164ae44eec;p=platform%2Fkernel%2Flinux-starfive.git soc: fsl: qe: drop useless static qualifier The local variable snum_init has no reason to have static storage duration. Reviewed-by: Christophe Leroy Reviewed-by: Qiang Zhao Signed-off-by: Rasmus Villemoes Signed-off-by: Li Yang --- diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 612d9c5..855373de 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();