aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-12-12 08:09:18 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-14 16:19:04 +0100
commit309247892818a5e3075e611570dcdc01183a74c5 (patch)
treee0168d05b50ecfe6d309fed0c0d5bbc3b8e9341a /drivers/media/pci
parentmedia: dmxdev: drop unneeded <linux/kernel.h> inclusion from other headers (diff)
downloadlinux-dev-309247892818a5e3075e611570dcdc01183a74c5.tar.xz
linux-dev-309247892818a5e3075e611570dcdc01183a74c5.zip
media: ivtv: no need to initialise statics to 0
Static variables do not need to be initialised to 0, because compiler will initialise all uninitialised statics to 0. Thus, remove the unneeded initializations. Link: https://lore.kernel.org/linux-media/20211212070918.289617-1-wangborong@cdjrlc.com Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/ivtv/ivtvfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/ivtv/ivtvfb.c b/drivers/media/pci/ivtv/ivtvfb.c
index 2c43ebf83966..00ac94d4ab19 100644
--- a/drivers/media/pci/ivtv/ivtvfb.c
+++ b/drivers/media/pci/ivtv/ivtvfb.c
@@ -42,7 +42,7 @@
/* card parameters */
static int ivtvfb_card_id = -1;
-static int ivtvfb_debug = 0;
+static int ivtvfb_debug;
static bool ivtvfb_force_pat = IS_ENABLED(CONFIG_VIDEO_FB_IVTV_FORCE_PAT);
static bool osd_laced;
static int osd_depth;