summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorPeter Karlsson <peter.p.karlsson@svt.se>2015-06-17 17:32:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-17 21:14:30 -0700
commit8103a48d3691bdd8ba757ab24a273120f4b1ae47 (patch)
treea4c8efb95cb34ca37a0ebd28dc5d8f1dd6f84b93 /drivers/staging
parentf9d3faee24235609013b4927635c73dbbde02595 (diff)
staging: ft1000-usb: Removed global initialization
Fix checkpatch error about initialize globals to 0. Signed-off-by: Peter Karlsson <peter.p.karlsson@svt.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/ft1000/ft1000-usb/ft1000_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
index a19e3930edce..409266b1a886 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
@@ -55,7 +55,7 @@ struct list_head freercvpool;
/* lock to arbitrate free buffer list for receive command data */
spinlock_t free_buff_lock;
-int numofmsgbuf = 0;
+int numofmsgbuf;
/*
* Table of entry-point routines for char device