lkml.org 
[lkml]   [2014]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/1] fs/jffs2/compr.c: remove 0 assignment on static
static values are automatically initialized to NULL

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
fs/jffs2/compr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index 4849a4c..a673221 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -25,7 +25,8 @@ static LIST_HEAD(jffs2_compressor_list);
static int jffs2_compression_mode = JFFS2_COMPR_MODE_PRIORITY;

/* Statistics for blocks stored without compression */
-static uint32_t none_stat_compr_blocks=0,none_stat_decompr_blocks=0,none_stat_compr_size=0;
+static uint32_t none_stat_compr_blocks, none_stat_decompr_blocks,
+ none_stat_compr_size;


/*
--
1.8.4.5


\
 
 \ /
  Last update: 2014-05-19 22:21    [W:0.034 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site