lkml.org 
[lkml]   [2005]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[DVB patch 02/37] saa7146: no need to initialize static/global variables to 0
no need to initialize static/global variables to 0

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
---
drivers/media/common/saa7146_core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.12-rc4/drivers/media/common/saa7146_core.c
===================================================================
--- linux-2.6.12-rc4.orig/drivers/media/common/saa7146_core.c 2005-05-08 18:23:20.000000000 +0200
+++ linux-2.6.12-rc4/drivers/media/common/saa7146_core.c 2005-05-08 20:24:42.000000000 +0200
@@ -23,9 +23,9 @@
LIST_HEAD(saa7146_devices);
DECLARE_MUTEX(saa7146_devices_lock);

-static int saa7146_num = 0;
+static int saa7146_num;

-unsigned int saa7146_debug = 0;
+unsigned int saa7146_debug;

module_param(saa7146_debug, int, 0644);
MODULE_PARM_DESC(saa7146_debug, "debug level (default: 0)");
--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-08 22:22    [from the cache]
©2003-2011 Jasper Spaans