projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654e8fb
)
Staging: comedi: fix initialization of static to 0 in ni_pcidio.c
author
Bojan Prtvar
<prtvar.b@gmail.com>
Tue, 19 Jul 2011 18:19:39 +0000
(20:19 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/ni_pcidio.c
b/drivers/staging/comedi/drivers/ni_pcidio.c
index 8dd3a01d48ddd3ae113a0d037267a8643ce16338..045a4c00f3462c5d3266eb88e4fa206bfdb6b72b 100644
(file)
--- a/
drivers/staging/comedi/drivers/ni_pcidio.c
+++ b/
drivers/staging/comedi/drivers/ni_pcidio.c
@@
-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);