]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
Staging: comedi: fix initialise statics to 0 or NULL issue in dt3000.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Thu, 8 Dec 2011 12:52:09 +0000 (18:22 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 00:04:26 +0000 (16:04 -0800)
This is a patch to the dt3000.c file that fixes up a initialise
statics to 0 or NULL warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/dt3000.c

index 6170f7bac46e88469b60f9720923705a17df8b3c..069a6916588b7381b5bc8b4163c41fd223b7ce51 100644 (file)
@@ -383,7 +383,7 @@ static void dt3k_writesingle(struct comedi_device *dev, unsigned int subsys,
        dt3k_send_cmd(dev, CMD_WRITESINGLE);
 }
 
-static int debug_n_ints = 0;
+static int debug_n_ints;
 
 /* FIXME! Assumes shared interrupt is for this card. */
 /* What's this debug_n_ints stuff? Obviously needs some work... */