[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1311099579-5582-1-git-send-email-prtvar.b@gmail.com>
Date: Tue, 19 Jul 2011 20:19:39 +0200
From: Bojan Prtvar <prtvar.b@...il.com>
To: gregkh@...e.de, lucas.demarchi@...fusion.mobi, abbotti@....co.uk
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Bojan Prtvar <prtvar.b@...il.com>
Subject: [PATCH] Staging: comedi: fix initialization of static to 0 in ni_pcidio.c
This patch removes initialization of static to 0 or NULL error found
by checkpatch.pl tool
Signed-off-by: Bojan Prtvar <prtvar.b@...il.com>
---
drivers/staging/comedi/drivers/ni_pcidio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_pcidio.c b/drivers/staging/comedi/drivers/ni_pcidio.c
index 8dd3a01..045a4c0 100644
--- 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);
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists