diff options
author | Chen Weixiang | 2014-10-19 14:59:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-29 10:27:46 +0100 |
commit | b7da2d68bb72b9565747bf4b5e785428867b4165 (patch) | |
tree | 9b8ee395a264e76d7b439baef5bcb956f43100f3 /drivers/staging/ft1000 | |
parent | staging: clocking-wizard: Contain macro argument in parenthesis (diff) | |
download | kernel-qcow2-linux-b7da2d68bb72b9565747bf4b5e785428867b4165.tar.gz kernel-qcow2-linux-b7da2d68bb72b9565747bf4b5e785428867b4165.tar.xz kernel-qcow2-linux-b7da2d68bb72b9565747bf4b5e785428867b4165.zip |
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 <weixiang.chen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ft1000')
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 |
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 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 <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); |