From: Chen Weixiang Date: Sun, 19 Oct 2014 12:59:44 +0000 (+0800) Subject: staging: ft1000: do not initialise statics to 0 or NULL X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b7da2d68bb72b9565747bf4b5e785428867b4165;p=linux-beck.git staging: ft1000: do not initialise statics to 0 or NULL Remove following checkpatch.pl error from ft1000/ft1000-usb/ft1000_debug.c ERROR: do not initialise statics to 0 or NULL Signed-off-by: Chen Weixiang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c index 4672c4d56205..4397ada1e387 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c @@ -38,7 +38,7 @@ #include #include "ft1000_usb.h" -static int ft1000_flarion_cnt = 0; +static int ft1000_flarion_cnt; static int ft1000_open(struct inode *inode, struct file *file); static unsigned int ft1000_poll_dev(struct file *file, poll_table *wait);