Skip to content

Commit 3092478

Browse files
Jason Wangmchehab
authored andcommitted
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/[email protected] Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 391137c commit 3092478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/pci/ivtv/ivtvfb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
/* card parameters */
4444
static int ivtvfb_card_id = -1;
45-
static int ivtvfb_debug = 0;
45+
static int ivtvfb_debug;
4646
static bool ivtvfb_force_pat = IS_ENABLED(CONFIG_VIDEO_FB_IVTV_FORCE_PAT);
4747
static bool osd_laced;
4848
static int osd_depth;

0 commit comments

Comments
 (0)