]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: ft1000: do not initialise statics to 0 or NULL
authorChen Weixiang <weixiangchen@gmail.com>
Sun, 19 Oct 2014 12:59:44 +0000 (20:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 09:27:46 +0000 (17:27 +0800)
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 <weixiang.chen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c

index 4672c4d5620598c266be97848eaabb3136b18598..4397ada1e387659f1d93cd5fc22a0036f2e76527 100644 (file)
@@ -38,7 +38,7 @@
 #include <linux/debugfs.h>
 #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);