summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChase Southwood <chase.southwood@yahoo.com>2014-02-19 01:38:10 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-21 12:38:09 -0800
commit6777877c4f1bc650a9d04cae8cbcf0be13cbd7b7 (patch)
tree2135f01336fe026e5ea41e50cc3964dfb4ae4ec2 /drivers
parent614bd02fc0113c5b272843731f69005484c77e2a (diff)
Staging: comedi: addi-data: don't initialize a static variable to 0
In hwdrv_apci1564.c, one static variable is zero initialized. This is unneeded and redundant, so we remove the initialization. Signed-off-by: Chase Southwood <chase.southwood@yahoo.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c
index 21dd028c4461..2b47fa17d601 100644
--- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c
+++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c
@@ -100,7 +100,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
#define APCI1564_TCW_WARN_TIMEBASE 28
/* Global variables */
-static unsigned int ui_InterruptStatus_1564 = 0;
+static unsigned int ui_InterruptStatus_1564;
static unsigned int ui_InterruptData, ui_Type;
/*