Staging: i4l: pcbit: drv: Do not initialise statics to 0.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sun, 20 Mar 2016 11:20:49 +0000 (16:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Do not initialise statics to 0.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i4l/pcbit/drv.c

index 4172e22ae7ed20b0cb9406a72b49cc73fbf6d74e..c79ee84b56db4d17bd18ec4be561c248172cd087 100644 (file)
@@ -699,8 +699,8 @@ void pcbit_l3_receive(struct pcbit_dev *dev, ulong msg,
  */
 
 static char statbuf[STATBUF_LEN];
-static int stat_st = 0;
-static int stat_end = 0;
+static int stat_st;
+static int stat_end;
 
 static int pcbit_stat(u_char __user *buf, int len, int driver, int channel)
 {
This page took 0.042624 seconds and 5 git commands to generate.