]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Staging: comedi: addi-data: do not initialize statics to 0 in hwdrv_apci035.c
authorChase Southwood <chase.southwood@yahoo.com>
Sun, 16 Feb 2014 08:41:32 +0000 (02:41 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:15:22 +0000 (11:15 -0800)
This patch for hwdrv_apci035.c removes a zero initialization from two
static variables.  Static variables are initialized to zero by default,
so doing so explicitly is not necessary.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c

index ff64540bdf7c6bc34278fae906a4c7ff4cdb772a..8ce3335422cd3dec81d44580aa3d93bb9a42edcb 100644 (file)
@@ -106,8 +106,8 @@ static struct comedi_lrange range_apci035_ai = {
        }
 };
 
-static int i_WatchdogNbr = 0;
-static int i_Temp = 0;
+static int i_WatchdogNbr;
+static int i_Temp;
 static int i_Flag = 1;
 /*
 +----------------------------------------------------------------------------+