From: Fabrizio Perria Date: Thu, 18 May 2017 13:50:12 +0000 (-0300) Subject: [media] atomisp: Fix unnecessary initialization of static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc6a612ab8ee00f80f3f0ca44caa37659565f0e8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] atomisp: Fix unnecessary initialization of static Fix checkpatch warning: removed unnecessary initialization of static variable "skip_fwload" to 0 in source atomisp_v4l2.c Signed-off-by: Fabrizio Perria Signed-off-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c index e3fdbdba0b34..a0478077a012 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c @@ -51,7 +51,7 @@ /* G-Min addition: pull this in from intel_mid_pm.h */ #define CSTATE_EXIT_LATENCY_C1 1 -static uint skip_fwload = 0; +static uint skip_fwload; module_param(skip_fwload, uint, 0644); MODULE_PARM_DESC(skip_fwload, "Skip atomisp firmware load");