Skip to contentSkip to conversation

Staging: comedi: fix initialization of static to 0 in ni_pcidio.c

PATCH New Bojan Prtvar 1 participant 1 message Jul 19, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: comedi: fix initialization of static to 0 in ni_pcidio.c

This patch removes initialization of static to 0 or NULL error found by checkpatch.pl tool

---
 drivers/staging/comedi/drivers/ni_pcidio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/comedi/drivers/ni_pcidio.c +1 -1
index 8dd3a01..045a4c0 100644
@@ -688,7 +688,7 @@ static void ni_pcidio_print_status(unsigned int flags)
 static void debug_int(struct comedi_device *dev)
 {
 	int a, b;
-	static int n_int = 0;
+	static int n_int;
 	struct timeval tv;
 
 	do_gettimeofday(&tv);
Signature · 1 line
1.7.1