drivers: of: removing assignment of 0 to static variable

no need to initialise static variable with 0, hence correcting it.

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Saurabh Sengar 2015-10-27 09:12:01 +05:30 committed by Rob Herring
parent 25fff6aa32
commit 0b13ea8e26

View file

@ -184,7 +184,7 @@ static void * unflatten_dt_node(const void *blob,
struct property *pp, **prev_pp = NULL;
const char *pathp;
unsigned int l, allocl;
static int depth = 0;
static int depth;
int old_depth;
int offset;
int has_name = 0;