summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrizio Perria <fabrizio.perria@gmail.com>2017-05-18 10:50:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 06:56:43 -0300
commitcc6a612ab8ee00f80f3f0ca44caa37659565f0e8 (patch)
treeba5e4c36271c0c22a6ad0e152dbe768d5fcd5cfe
parent86675eccd1a531003c270a6f05954d49757c6bb5 (diff)
downloadlinux-cc6a612ab8ee00f80f3f0ca44caa37659565f0e8.tar.bz2
[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 <fabrizio.perria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c2
1 files changed, 1 insertions, 1 deletions
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");