From 8103a48d3691bdd8ba757ab24a273120f4b1ae47 Mon Sep 17 00:00:00 2001 From: Peter Karlsson Date: Wed, 17 Jun 2015 17:32:11 +0200 Subject: [PATCH] staging: ft1000-usb: Removed global initialization Fix checkpatch error about initialize globals to 0. Signed-off-by: Peter Karlsson Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5