Staging: comedi: fix initialization of static to 0 in ni_pcidio.c
authorBojan Prtvar <prtvar.b@gmail.com>
Tue, 19 Jul 2011 18:19:39 +0000 (20:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 18:56:47 +0000 (11:56 -0700)
This patch removes initialization of static to 0 or NULL error found
by checkpatch.pl tool

Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_pcidio.c

index 8dd3a01d48ddd3ae113a0d037267a8643ce16338..045a4c00f3462c5d3266eb88e4fa206bfdb6b72b 100644 (file)
@@ -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);